Classification Vs Regression
Difference between classification and regression
In the above diagram the left side picture depicts classification(Disease, Healthy) and the right side picture depicts the regression.
In the above diagram the left side picture depicts classification(Disease, Healthy) and the right side picture depicts the regression.
Classification: the output variable takes class labels.
Regression: the output variable takes continuous values.
Regression and classification are both related to prediction, where regression predicts a value from a continuous set, whereas classification predicts the 'belonging' to the class.
For example, the price of a house depending on the 'size' , can be some 'numerical value' (which can be continuous): this relates to regression.
Similarly, the prediction of price can be in words, viz., 'very costly', 'costly', 'affordable', 'cheap', and 'very cheap': this relates to classification.
Each class may correspond to some range of values.
Comments
Post a Comment