[Math] the difference between regression and classification

machine learningregression

What is the difference between regression and classification, when we try to generate output for a training data set $x$?

Best Answer

Regression: the output variable takes continuous values.

Classification: the output variable takes class labels.

Related Question