Compute recall for a missed alert

Type each count alongside the label that gives it meaning. · 197 words

Recall measures how many actual positive cases the model successfully detects. Imagine a hiking app watches a trail camera and raises an 'icy path' alert. An icy path is the positive case. On one morning, four trail sections are truly icy. The app correctly alerts on three but misses one. Those three catches are true positives: the sections are icy and the model says they are icy. The missed section is a false negative: it is icy, but the model does not alert. A false negative is the error most relevant to this task because a missed warning may lead a walker onto ice.

To compute recall, divide true positives by all actual positive cases. The denominator is true positives plus false negatives, so recall = TP / (TP + FN) = 3 / (3 + 1) = 0.75, or 75 percent. This is different from precision. If the app also issues 8 icy-path alerts on sections that are not icy, those are false positives and reduce precision to 3/(3+8), but they do not change recall because they are not actual icy sections. Recall answers, 'Of the icy sections that existed, how many did the system catch?'

Check your recall

Four actual icy sections exist, and the model alerts on two. What is its recall, and what are the two missed sections called?

Check your answer

Recall is 2/4 = 0.50, or 50 percent. The two missed icy sections are false negatives because they are actual positive cases that the model failed to detect.

Sources and credits

Original KeyTouch lesson. Background reading · Google · Classification metrics.