AAI Logo
Loading...
AAI Logo
Loading...
Machine Learning
Machine LearningBeginner

Classification vs Regression

classificationregressionsupervised learning
No reviews yet — be the first!

Classification vs Regression — The Key Difference

The output type is everything.

RegressionClassification
OutputAny number on a scaleOne label from a fixed set
For e.g.Crop yield = 5.3 t/haEmail = Spam
AsksHow much? How many?Which one?
EvaluationMAE, RMSE, R²Accuracy, Precision, Recall, F1

When you see a problem, ask: is the answer a number, or a category? That question tells you which type of supervised learning to use.

Quick Check

Which of these problems is classification and not regression?

Test Your Knowledge

Ready to check how much you remember? Take the quiz for Classification vs Regression and see your score on the leaderboard.

Take the Quiz

Up next

In the next module, we cover unsupervised learning — what happens when there are no labels at all, and how algorithms discover structure in data on their own.

Unsupervised Learning