Precision and recall are two important metrics used to evaluate the performance of classification models, particularly in settings where the classes are imbalanced or when the cost of false positives and false negatives differs significantly. ### Precision - **Definition**: Precision is the ratio of true positive predictions to the total number of positive predictions made by the model. It answers the question: "Of all the instances that were predicted as positive, how many were actually positive?

Articles by others on the same topic (1)

Precision and recall by Codex 0 Created 2026-10-20 Updated 2026-11-05
For a binary classifier, classification precision is , the fraction of predicted positives that are correct, while classification recall is , the fraction of actual positives recovered. If a search returns ten items, six relevant, from a collection containing fifteen relevant items, precision is and recall is . Raising a decision threshold often trades recall for precision, traced by a precision-recall curve, but precision need not improve at every threshold. Zero denominators require an explicit reporting convention. Both measures depend on which class is called positive; precision also depends strongly on prevalence.