What is the difference between precision and recall?medium

Type
conceptual
Topic
precision-recall
Frequency
common
Tags
classification, precision, recall
Answer

Precision measures how many predicted positives are correct; recall measures how many actual positives are found.

Explanation

Precision matters when false positives are costly. Recall matters when missing positives is costly, such as fraud, disease detection, or safety alerts.

Follow-upWhen would you optimize for recall over precision?