What is the difference between regression and classification?

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

Answer

Regression: the output variable takes continuous values.

Classification: the output variable takes class labels.

Attribution
Source : Link , Question Author : Bober02 , Answer Author : Tim

Leave a Comment