What is the difference between regression and classification?

206.4k Views Asked by At

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

2

There are 2 best solutions below

6
On BEST ANSWER

Regression: the output variable takes continuous values.

Classification: the output variable takes class labels.

5
On

Regression involves estimating or predicting a response.

Classification is identifying group membership.