Can some please help me understand, if I can use linear regression if I have 100 classes to predict. The calue to predict is discrete in nature like 1 to 100.
How do i decide if linear is better than logistic regression.
Appreciate your kind help.
Can some please help me understand, if I can use linear regression if I have 100 classes to predict. The calue to predict is discrete in nature like 1 to 100.
How do i decide if linear is better than logistic regression.
Appreciate your kind help.
Linear regression should be used when the outcome is continuous, whereas logistic regressions should be used when the outcome is discrete.
Since your outcome is discrete in nature, you need logistic regression.
Check this stack overflow question for a more in-depth discussion of the difference between linear and logistic regression.