I have 2D geometric data which when rendered results into floorplans like the one shown in this image
Now for each segment in the figure above I have the end points data ie the 2 points that when connected makes up the line. Now, I want to train a classifier to classify different lines into their respective classes. I have labeled the data already.
My confusion is with regards to how should I go about making the model to also take into consideration the relationships between the lines as multiple lines with same dimension could belong to different classes, or should I not worry about this as a model would pickup this relationship automatically.