Introduction to Classification
Introduction to Classification
While regression predicts numbers, classification predicts categories. Will a customer churn? Is this email spam? What species is this flower?
Regression vs Classification
Loading Python Playground...
Binary vs Multi-class Classification
Loading Python Playground...
How Classification Works
Loading Python Playground...
Decision Boundaries
Classification creates invisible lines (or curves) that separate classes.
Loading Python Playground...
Common Classification Algorithms
Loading Python Playground...
Probability Predictions
Classification models can output probabilities, not just class labels.
Loading Python Playground...
The Classification Workflow
Loading Python Playground...
Key Takeaways
- Classification predicts discrete categories instead of numbers
- Binary classification has 2 classes; multi-class has 3+
- Models learn decision boundaries that separate classes
- Predictions can include probabilities for each class
- The workflow is similar to regression: prepare → train → predict → evaluate
- Common metrics: accuracy, precision, recall, F1-score (more in Module 7)
Next, we'll learn Logistic Regression - despite its name, it's for classification!
Quiz
Question 1 of 520% Complete
0 of 5 questions answered

