What is Precision and recall?
In Turkish: Kesinlik ve duyarlılık · Topic: Data and evaluation
Two complementary measures for classification models: precision shows how many of the cases a model calls 'positive' really are positive, and recall shows how many of the actual positives it manages to catch.
How does it work?
Precision is the share of correct answers among the examples the model flagged; recall is the share of all truly existing examples that the model found. The two usually move in opposite directions: loosening the decision threshold catches more cases but raises false alarms, while tightening it does the reverse. In practice, which one takes priority depends on the cost of each kind of error.
Why does it matter?
Accuracy hides the types of errors, while these two measures separate false alarms from missed cases. In medical screening a missed disease is costly, and in content moderation a wrongful block can harm a user. That is why both numbers are asked for when the reliability of an AI system is discussed.
Example
If a spam filter flags 100 messages and 90 are really spam, precision is 90 percent; if the inbox held 120 spam messages in total and it caught 90, recall is 75 percent.
FAQ
Which matters more, precision or recall?
It depends on the situation. Where missing a case is costly, such as disease screening, recall comes first. Where a false alarm is costly, such as automatically closing accounts, precision matters more.
Are recall and specificity the same thing?
No. Recall is the rate at which actual positives are caught. Specificity is the rate at which actual negatives are correctly identified as negative.