DEV Community

luffyguy
luffyguy

Posted on • Originally published at Medium

Precision vs Recall — The Clearest Explanation You’ll Find

Most people memorize the formulas. That’s why they stay confused.

Here’s all you need.

The Doctor Story I think makes sense

10 patients walk in. 3 actually have cancer.

Doctor A — overly cautious:

Flags all 10 as cancer. Caught all 3 real ones but scared 7 healthy people unnecessarily.

→ Missed nobody. High recall, low precision.

Doctor B — very strict:

Only flags 2 people he is 100% sure about. Both were real but 1 real cancer patient walked out undetected

→ Every flag was correct. High precision, low recall.

For cancer, Doctor A is the right call. Always.

Why?

Missing a real cancer patient = they don’t get treated. That’s fatal.

Flagging a healthy person for extra tests = scary and inconvenient. But not fatal.

The One Rule

** Recall **= Don’t let the dangerous thing escape

** Precision **= Only flag when you’re sure

Ask yourself — which mistake is more costly? That decides everything.

Stop memorizing formulas. Start thinking about impact.

Top comments (0)