Precision Among Predicted Positives
Positive-class precision is the fraction of predicted positives that are actually positive under the evaluation labels.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace a small count
Of eight flagged records, six truly satisfy the positive rule. Precision is \(6/8=0.75\), and two are false positives. The confusion matrix supplies those entries.
Document zero predicted positives
The ratio has zero denominator if the model flags nothing. A reporting convention can mark it undefined or use a documented value. See counts alongside rates.[1][2]
Filter to the predicted-positive column before computing
A model flags twenty records. Fifteen of those are confirmed positive and five are negative. Precision is \(15/20=0.75\). An unflagged true case affects recall but is outside this denominator. See recall among actual positives.
Predictions flagged: 20
Correct flags: 15
Incorrect flags: 5
Precision: 75%
Decide how an empty flagged set is reported
When no cases are flagged, precision has a zero denominator. Some tools use a configurable convention. Report positive prediction count and that convention with the metric.