Math · Advanced · Lesson 4 of 8
Measuring Mistakes
Precision and recall
An interactive lesson with 7 steps, about 6 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.
What you’ll learn
- Accuracy misleads when one class is rare.
- Recall = TP/(TP + FN); precision = TP/(TP + FP).
- Moving a threshold trades recall against precision.
Steps
- A lazy detector
- Four kinds of outcome
- Moving the threshold
- Catch 90%
- Tracing the ROC curve
- Precision from counts
- One number for both