Data Science & ML
Intermediate

Precision

Of all positive predictions, the fraction that were correct.

Formula

Precision=TPTP+FPPrecision = \frac{TP}{TP + FP}

Variables

TPTrue positives
FPFalse positives

Example

TP=80, FP=20: Precision = 0.80

Did You Know?

Precision matters when false positives are costly (e.g., spam filters).