Knowing If It WorksLesson 15 of 76

Module 2 · Metrics that mean something

Moving the threshold is a business decision

In this lesson

  • 10 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 5 of 10 in this chapter

This chapter’s goalChoose a metric that matches the decision at hand, set a threshold from a real confusion matrix or a precision-recall curve, say whether a model’s 0.8 means anything about probability, and separate a retrieval failure from a generation failure in a system that does both.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
Total cost of mistakes at three thresholds0.3: 153 false alarms, 3misses11250.5: 32 false alarms, 12misses16000.8: 4 false alarms, 26misses3140minutes of cost per 1,000 postsAt five minutes per false alarm and two hours per miss, the low threshold wins by a wide margin.Change the 24:1 ratio and the winner moves, which is the argument worth having.
At five minutes per false alarm and two hours per miss, the low threshold wins by a wide margin. Change the 24:1 ratio and the winner moves, which is the argument worth having.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

The model gives a score; you choose the line

Most classifiers do not output yes or no. They output a number between 0 and 1, and somebody (usually by default, usually without noticing) decided that 0.5 means yes.

0.5 is not a principled choice. It is the midpoint of a range, and the range is arbitrary. The threshold is where you convert a score into an action, and it should be set by what the two kinds of mistake cost you.

Take the content filter from the previous lesson: 1,000 posts, 60 harmful. Sweep the threshold and the picture changes completely.

  • At 0.3: flags 210 posts, catches 57 of 60. Recall 95%, precision 27%. The review queue has 153 innocent posts in it.
  • At 0.5: flags 80, catches 48. Recall 80%, precision 60%.
  • At 0.8: flags 38, catches 34. Recall 57%, precision 89%. Twenty-six harmful posts go through.

Same model, same weights, three different products. Nobody retrained anything.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Shipping It exam.

Stuck on something?Ask Sayali, your AI tutor

How to cite: Addaly (2026) ‘Moving the threshold is a business decision’, in Knowing If It Works. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/evaluating-ai/thresholds-and-the-cost-of-being-wrong (Accessed: 29 November 2026).