- Year not given
Inverse relation of precision and recall
Short answer
Precision and recall trade off: lowering threshold increases recall but decreases precision, and vice versa. This inverse relationship is balanced using the F-measure.
Explain the inverse relation between Precision and Recall of classifier model.
Precision = TP/(TP + FP): of the records predicted positive, the fraction that are really positive (exactness). Recall = TP/(TP + FN): of all real positives, the fraction the classifier finds (completeness).
Inverse relationship
For a given classifier, improving one of them usually reduces the other, because both depend on the decision threshold.
- Lower the threshold (predict "positive" more readily): more real positives are found, so FN falls and recall rises. But more negatives are also wrongly accepted, so FP rises and precision falls.
- Raise the threshold (predict "positive" only when very sure): FP falls, so precision rises, but many positives are missed, so FN rises and recall falls.
- Extreme cases: predicting every record positive gives recall = 100% but low precision; predicting only one very certain record positive gives precision = 100% but very low recall.
Example: 100 real positives in 1000 records.
| Threshold | TP | FP | FN | Precision | Recall |
|---|---|---|---|---|---|
| High | 40 | 5 | 60 | 40/45 = 0.89 | 40/100 = 0.40 |
| Medium | 70 | 30 | 30 | 70/100 = 0.70 | 70/100 = 0.70 |
| Low | 95 | 200 | 5 | 95/295 = 0.32 | 95/100 = 0.95 |
Because of this trade-off, the two are combined into the F-measure (harmonic mean), F₁ = 2·P·R/(P + R), and shown in a precision-recall curve. Each application chooses its own balance: cancer screening and fraud detection favour high recall, while spam filtering favours high precision (so that important mail is not wrongly blocked).
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Confusion matrix and performance measures · Data Mining, chapter 3
- Measures from confusion matrix (152, 130) · Data Mining, chapter 3
- Measures from cancer confusion matrix · Data Mining, chapter 3
- ROC curve for model selection · Data Mining, chapter 3