Hello ,

I am using linear regression as meta classifier through java code
Dealing with 2 class classification problem I represented one class as 0 and other as 1
I want to know how to classify new instance-

Do I need to build regression model separately for instances belonging to one class and then other and finally compare score from ClassifyInstance method ?

Or I  need to consider entire dataset for training at once and build only one regression model?

Thank You