PLAIN/TEXT — ISSUE 53/456 COMPUTER SCIENCE · FOUNDATION / AI MEASUREMENT · ~4 MIN READING DATE: 2026-11-23 ARCHIVE: https://plaintext.click/newsletter/ SUBJECT: A spam filter can improve one score and get worse A spam filter can improve one score and get worse ================================================= / START HERE An email app decides which messages should go into the junk folder. A classifier is a computer rule that assigns an input to a category, such as spam or ordinary mail. Catching more unwanted messages can also mean hiding more wanted messages. / WHY NOW One percentage cannot capture every consequence of an AI decision. For your inbox, both missed spam and lost invitations matter, but they are different mistakes with different costs. / THE IDEA Precision asks how many messages labelled spam really were spam. Recall asks how much of all the real spam the filter caught. The first starts with the filter’s positive decisions; the second starts with all actual positive cases. Many filters produce a score and compare it with a threshold. Lowering that threshold usually labels more messages as spam. This can recover missed spam while admitting more false alarms. Comparing thresholds means tracking both counts, not treating the setting with the largest single number as automatically best. / THE FORMAL IDEA precision = TP/(TP + FP); recall = TP/(TP + FN) - TP = true positives: real spam labelled spam; FP = false positives: wanted mail labelled spam. - FN = false negatives: real spam left in the ordinary inbox. The denominators count different groups. Multiply ratios by 100 for percentages. / RUN THE TINY EXAMPLE Change one thing. Predict what happens. There are 20 real spam messages. Filter flags 10 spam and 2 wanted messages. Precision = 10/12 ≈ 83%; recall = 10/20 = 50%. Lower threshold: flags 18 spam and 12 wanted messages. Precision = 18/30 = 60%; recall = 18/20 = 90%. The new setting catches almost all spam but makes its junk folder less trustworthy. Both statements are true because they describe different denominators. The counts make the trade-off visible. / SO WHAT? This matters when evaluating moderation, fraud screening or search results too. Ask which errors are expensive and who bears them. A system can also change behaviour when the proportion of spam changes, so results from a balanced test collection may not describe your real inbox. / ONE CAVEAT The numbers are invented and describe one fixed test collection. Real data can be mislabelled or change over time, and some tasks have more than two categories. / KEEP THIS Before praising a model’s score, ask which mistakes its denominator leaves out. / SOURCE TRAIL [1] Google — Accuracy, precision and recall https://developers.google.com/machine-learning/crash-course/classification/accuracy-precision-recall NEXT: Why moving a lamp twice as far makes a big difference --- HARD IDEAS. PLAIN TEXT. You are receiving this because you asked for one clear computer-science or physics idea each day. Unsubscribe: https://plaintext.click/unsubscribe View in browser: https://plaintext.click/newsletter/2026/11/2026-11-23-precision-recall.html From: Plain/Text / Brickston Consulting · 30 N Gould St Ste N, Sheridan, WY 82801 US · knowledge@plaintext.click