LearnQuestion bank

A fraud model outputs scores. How do you choose the decision threshold, and which metrics do you report?

ML engineeringTechnicalEasy

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • Treat threshold as a cost decision, not an accuracy target.
  • Define missed-fraud loss vs false-decline friction, churn, and ops review cost; optimise expected cost or meet a constraint such as an FPR cap.
  • Report precision/recall at the chosen threshold, daily alert volume, and value-weighted recall.
  • Use tiered actions: allow, step-up/review, block.
  • Re-tune when base rates drift and slice by segment.

In full

I would not choose the threshold from accuracy; I would frame it as a cost decision. Missed fraud costs the loss amount, while false declines cost customer friction, churn risk, and manual review load, so I would pick the threshold that minimises expected cost or meets a constraint such as an FPR cap, depending on the business objective. At that threshold I would report precision and recall, alert volume per day, and value-weighted recall so we can see both how many frauds are caught and what share of the fraud value is caught. I would also use tiered actions rather than a single cutoff: allow low-risk transactions, step up or send borderline cases to review, and block high-risk ones. Finally, I would monitor base rates, calibration, and segment-level performance, and re-tune when drift appears, because a threshold that is right for one segment or time period may be wrong for another.

Corrected by an independent AI reviewer.

What a strong answer covers

  • Define costs: missed fraud (loss amount) vs false decline (customer friction, churn, ops review cost). Optimise expected cost or meet a constraint such as an FPR cap.
  • Report precision/recall at the chosen threshold, alert volume per day, and value-weighted recall.
  • Use tiered actions (allow, step-up, block).
  • Re-tune when base rates drift; slice by segment.

Common mistakes

  • defaulting to 0.5
  • optimising F1 when costs are asymmetric.