Classification vs. Regression Revision Notes Flashcards

1
Q

Definition of Classification

A

Classification is a supervised learning approach that categorizes data into predefined classes or labels. It predicts discrete outcomes, typically binary (e.g., yes/no) or multiclass (e.g., types of fruits).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Definition of Regression

A

Regression is a supervised learning method used to predict a continuous outcome (numeric value) based on one or more variables. It establishes the relationship between dependent and independent variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the key differences between Classification and Regression?

A

Output Type: Classification predicts discrete labels, while Regression predicts continuous quantities.
Evaluation Metrics: Classification uses accuracy, confusion matrix, precision, etc., whereas Regression uses mean squared error, R-squared, etc.
Algorithms: Common Classification algorithms include Logistic Regression, Decision Trees, SVMs. Regression algorithms include Linear Regression, Polynomial Regression.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the key similarities between Classification and Regression?

A

Both are types of supervised learning.
They require historical data for model training.
They aim to make predictions based on input features.
Both can use similar techniques for feature selection, cross-validation, and overfitting prevention.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are practical scenarios for applying Classification?

A

Email spam detection (binary: spam/not spam)
Image recognition (multiclass: categorizing images)
Loan default prediction (binary: default/no default)
Medical diagnosis (binary or multiclass: diagnosing diseases)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are practical scenarios for applying Regression?

A

Predicting house prices based on various features (continuous: price estimation)
Forecasting stock market prices (continuous: value prediction)
Estimating life expectancy (continuous: age prediction)
Predicting sales in retail (continuous: sales volume)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly