Recall (Sensitivity)

Machine Learning
Introduced by
Historical statistical foundations
Year
20th century
Type
Evaluation metric
Family
Classification Metric

What does it do?

Recall, also called sensitivity or true positive rate, is the proportion of actual positive cases that a classifier correctly identifies.

It answers the question: of all the cases that were truly positive, how many did the model find? It matters most where missing a positive case is costly.

The intuition behind the method

Recall measures coverage: did the model catch the positive cases that matter? A high-recall classifier produces few false negatives, meaning it rarely misses a true positive. Recall is complementary to precision. Precision asks whether the positive predictions are accurate, while recall asks whether all the positive cases were found. High recall with low precision means the model finds most positives but raises many false alarms. High precision with low recall means its positive predictions are reliable but it misses many positive cases.

History

Recall, also known as sensitivity or the true positive rate, is a classification metric usually dated to 20th-century statistical work. Its originator is not established in the sources available for this page, so no single person or publication is credited with defining it.

When to use it

Choose recall when the task is binary classification with a defined positive class and the cost of a false negative is higher than the cost of a false positive. Examples include screening for a serious disease, flagging network intrusions, or finding candidate evidence in a criminal investigation. Do not rely on recall alone when false positives are the main concern, as in spam filtering, where wrongly removing legitimate messages is costly; there precision or a combined measure is more informative. Recall also does not suit tasks where the overall correctness of all predictions, including negatives, must be judged.

Limitations and considerations

  • Ignores false positives entirely; a model can reach high recall while flagging many negative cases as positive.
  • Can be trivially maximised by predicting every case as positive, which yields zero false negatives.
  • Does not reflect the relative costs of the two error types, so it cannot by itself show whether the trade-off is acceptable.
  • Used alone, recall gives an incomplete picture of classification performance and should be read with precision.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • The formula uses only the positive cases, so the value does not change with the number of true negatives in the data set.
  • Interpretable: a recall of 1.0 means no positive case was missed.
  • Directly suited to applications where a false negative has high cost or safety impact.
  • Complements precision, so the two together describe how the model handles positive cases from both sides.

Applications

  • Medical diagnosis for serious diseases, where missing a case (false negative) can be life-threatening.
  • Criminal investigation and forensic analysis, where missing evidence or suspects compromises justice.
  • Network security and intrusion detection, where missing an attack allows damage to occur.
  • Drug discovery and disease screening, where missing active compounds wastes research resources.

How it works

How it works

1

Count the true positives (positive cases predicted as positive) and the false negatives (positive cases predicted as negative). Only the positive cases enter this count; true negatives are not used.

2

Divide the true positives by the sum of true positives and false negatives: recall = TP / (TP + FN). For example, when true positives are high and false negatives are few, the ratio is close to 1.0; if false negatives rise while true positives stay the same, the ratio falls.

Formula
\text{Recall} = \frac{TP}{TP + FN}
3

Recall ranges from 0 to 1. A value of 1.0 means every positive case was found, and a value of 0 means no positive case was identified. A high value indicates a low false negative rate, but says nothing about how many negative cases were wrongly flagged. The false negative rate is the complement, FNR = FN / (TP + FN) = 1 − Recall. For multi-class problems, recall is computed for each class by treating that class as positive; the per-class values are then combined by macro averaging (the unweighted mean across classes) or micro averaging (pooling all counts before dividing).

Formula
\text{FNR} = \frac{FN}{TP + FN} = 1 - \text{Recall}

Common pitfalls

  • Maximising recall without checking precision, which can produce a model that predicts almost everything as positive while reporting high recall.
  • Confusing recall with accuracy. Recall measures coverage of the positive cases only, whereas accuracy measures the share of all predictions that are correct.
  • Reporting recall alone when positives are rare. Recall stays the same regardless of how rare the positive class is, but many false positives can still make the positive predictions mostly wrong, and a recall-only report hides this.

Frequently asked questions

When should I prioritize recall over precision?

Prioritize recall when the cost of a false negative is high. In medical diagnosis for serious diseases, missing a diagnosis is dangerous. In security threat detection, missing a threat allows damage. In criminal investigation, missing a guilty party prevents justice. Conversely, in spam filtering, false positives (filtering good email) may be more costly than false negatives (missing some spam).

Can a model have high recall but low precision?

Yes. A model could predict positive for almost everything, correctly identifying most actual positive cases (high recall) but making many false positive errors (low precision). This strategy is useful only when false negatives are extremely costly and false positives are tolerable.

How do recall and precision trade off against each other?

Recall and precision often trade off against each other as the decision threshold changes: lowering the threshold tends to raise recall and lower precision, while raising it tends to do the opposite. This is a tendency rather than a fixed law and depends on the model and the data. The threshold should be chosen on validation data, with the costs of each error type stated explicitly.

Related methods

Sources

  1. Fawcett, T. (2006). An introduction to ROC analysis. Pattern Recognition Letters, 27(8), 861-874.

    Open DOI reference
  2. Powers, D. M. (2011). Evaluation: From Precision, Recall and F-Measure to ROC, Informedness, Markedness and Correlation. Journal of Machine Learning Technologies, 2(1), 37-63.

    Open publication reference