Definition
Classification predicts a class label. Regression predicts a continuous numeric value. In their usual supervised form, both learn relationships from examples with known targets.
Intuition
The target determines the distinction: predicting a category differs from estimating a quantity.
Study example
Predicting whether a road is congested is classification. Predicting its average vehicle speed is regression. Numeric coding of category labels does not turn classification into regression.
Important rules
- The lecture shows training data -> model -> classified new data.
- Classification can support interpretation, but a classifier is not automatically interpretable.
- Evaluate on examples that were not used to fit the model.
- The slide’s stock-quote regression example illustrates a task, not guaranteed forecasting success.
Common mistakes
- Confusing a discovered cluster with a labeled class.
- Judging a model solely by how well it fits its training data.
- Assuming every numeric target is a continuous measurement.
Related concepts
- Clustering and Outlier Detection
- Descriptive Predictive and Prescriptive Analytics
- Model Interpretability and Confounding
Source
Elena Baralis, The Big Data Challenge, PDF pages 37-38, 42. Context: Lecture 01 - The Big Data Challenge. Supervised-learning distinctions, example, and evaluation advice are study additions.
Exam practice and transfer
Worked scenario
A university analytics team is investigating classification and regression. It must state the analytical question, identify the relevant observations and explain what evidence would make the result useful rather than merely plausible. Use the concept’s definition to justify each design choice.
Concrete example
Predicting whether a student passes is classification because the result is a category. Predicting the student’s final percentage is regression because the result is numeric.
Retrieval questions
- Explain Classification and Regression in your own words, then identify the problem it prevents in a real data project.
- Give a small example that would violate the concept, and explain how the violation would distort an analysis or query.
- Compare this concept with the nearest related idea in the note and state when each should be used.
These prompts are added study practice. They require explanation and transfer rather than copying a definition.