Glossary
Precision and recall
Two complementary classifier metrics; precision is how many predicted positives were correct, recall is how many actual positives were found.
Also called: sensitivity, positive predictive value
Precision and recall are two measures of a classification model's accuracy on the positive class, read directly from a confusion matrix. Precision is true positives / (true positives + false positives): of everything the model flagged as positive, how much actually was. Recall, also called sensitivity, is true positives / (true positives + false negatives): of everything that actually was positive, how much the model found.
The two trade off against each other for a given model: making a fraud detector flag more transactions as suspicious tends to raise recall, catching more real fraud, while lowering precision, generating more false alarms. Moving the classification threshold shifts that balance in one direction or the other. Plain accuracy hides this trade-off entirely and is a poor metric on its own, especially when the positive class is rare.
Which measure matters more depends on the cost of each error type: a cancer screening test favors high recall, since missing a real case is costly, while a spam filter favors high precision, since blocking a legitimate email is disruptive. The f1 score combines both into a single number when neither error type clearly dominates, and ROC AUC summarizes performance across all possible thresholds at once.
Last reviewed September 22, 2026