Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. Choosing a Decision Threshold Using Cost, Not Accuracy
AI & Machine Learning

Choosing a Decision Threshold Using Cost, Not Accuracy

The default 0.5 cut-off is almost always wrong. How to set a threshold from what each kind of mistake costs, and who should own that decision.

Updated 2 min readBy SpiderHunts Technologies

Free estimateNo obligation

Get a free estimate

Tell us what you need. A senior engineer reads every enquiry.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →

Quick answer — TL;DR

The threshold that turns a score into an action is a business decision, not a technical default. Write down the cost of a false positive and a false negative, compute total cost across candidate thresholds, and pick the minimum - then review it as costs change.

The most consequential line nobody discusses

A model produces a score; a threshold turns it into a decision. That threshold usually arrives as 0.5 because it is the default, and it is rarely the right answer.

It deserves as much attention as the model, because it is where the model meets the business. Two organisations using an identical model should often choose different thresholds, because their costs differ.

Put numbers on the two mistakes

Every threshold trades one error type against the other. Lower it and you catch more true cases and raise more false alarms; raise it and the reverse.

OutcomeExample: flagging a fraudulent orderCost to estimate
True positiveFraud caughtValue of the loss avoided
False positiveGenuine customer blockedLost order, support time, goodwill
False negativeFraud missedFull loss plus handling
True negativeGenuine order passesNothing

The estimates do not need to be precise. Order-of-magnitude figures agreed by the people who own the outcome are enough to move the threshold to a far better place than the default.

Compute and choose

  1. Take a held-out set with known outcomes and model scores.
  2. For each candidate threshold, count the four outcomes.
  3. Multiply by the agreed costs and total.
  4. Plot total cost against threshold - the minimum is your answer.
  5. Look at how flat the curve is near the minimum. A flat region means the exact value matters little, which is reassuring and lets you favour an easily explained round number.

Presenting that curve to stakeholders works better than presenting a number. People can see the trade-off and argue about the cost estimates, which is exactly the right argument to be having.

Several thresholds are often better than one

A single cut-off forces every case into act or ignore. Two thresholds create a middle band for human review, which usually fits reality better.

Size that band by review capacity. A review queue that generates more cases than the team can clear is not a control - it is a backlog, and the cases at the bottom are effectively unreviewed regardless of intent.

Who owns it, and when it changes

The threshold belongs to whoever owns the outcome - the fraud manager, the credit controller, the operations lead - not to whoever built the model. Their name should be attached to it in documentation.

It needs revisiting when the costs change: a margin change, a new customer acquisition cost, a change in how the team handles reviews. A threshold set once at launch and never revisited quietly stops being right.

The threshold is where the model becomes a business decision. Someone in the business should own it.

FAQ

Frequently asked questions

The questions readers ask us after this guide.

Still have a question?

Ask us directly — a senior engineer will get back to you.

Ask about your project

Why is 0.5 the default?

It is the natural midpoint of a probability, not a considered choice. It only makes sense when both error types cost the same and the classes are balanced, which is rare.

What if we cannot estimate the costs?

Approximate figures agreed between the people affected are enough. Even a rough ratio moves the threshold to a better place than the default.

Should the threshold be the same for all customers?

Not necessarily, though varying it by segment needs care to avoid treating groups unfairly. Document and test any such variation.

How often should it be reviewed?

Whenever the underlying costs move, and otherwise on a set cadence alongside model monitoring.

Keep reading

More on AI & Machine Learning

Start here

Want machine learning project details from us?

Tell us what you are trying to predict and roughly what data you hold. We will come back with an honest view on whether machine learning is the right tool, what the work would involve and a realistic cost range. If a spreadsheet would do the job, we will say so.

  1. You tell us what you needTwo minutes on the form, or a message on WhatsApp.
  2. A senior engineer reviews itAnd comes back with questions, a realistic range and an honest view on fit.
  3. Free 30-minute scoping callWe talk through scope, options and a realistic estimate — with no obligation.
Free estimateNo obligation

Talk to someone who builds this

Send a short brief and we will come back with an honest view and a realistic range.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →