Machine Learning
Beginner
4.5
Reading a Confusion Matrix
Turn four numbers into a clear picture of model behavior.
0h 15m
1 lesson
1.2K students
What You'll Learn
Learning objectives will be added soon.
Tutorial Content
The four cells
For binary classification:
- TP — predicted positive, actually positive.
- TN — predicted negative, actually negative.
- FP — predicted positive, actually negative (false alarm).
- FN — predicted negative, actually positive (miss).
Derived metrics
- Precision = TP / (TP + FP) — trust of positive predictions.
- Recall = TP / (TP + FN) — coverage of real positives.
Why look at it
Accuracy hides which mistakes you make. The matrix shows whether your model errs toward false alarms or misses — and which one hurts more in your context.
Your Progress
Sign in to track your progress
Tags
Machine Learning
Evaluation