Classification and Regression Difference
The target variable in classification is continuous whereas in regression it is categorical.
Differences Between Classification and Regression
- The Classification process models a function through which the data is predicted in discrete class labels. On the other hand, regression is the process of creating a model which predict continuous quantity.
- The classification algorithms involve decision tree, logistic regression, etc. In contrast, regression tree (e.g. Random forest) and linear regression are the examples of regression algorithms.
- Classification predicts unordered data while regression predicts ordered data.
- Regression can be evaluated using root mean square error. On the contrary, classification is evaluated by measuring accuracy.