I have data in the following form:
table 1
id, feature1, predict
1, xyz,yes
2, abc, yes
table2
id, feature2
1, class1
1, class2
1, class3
2, class2
I could perform a one many join and train on the resultant set- which is one way to go about it. But If I rather wanted to maintain the length of the resultant set equal length of table 1, what is the technique?