The Dollarized Confusion Matrix
Replace accuracy with dollars. The optimal threshold for any AI classifier is not a feeling - it is a calculation, and the inputs are the actual cost of being wrong in each direction.
The Matrix
A standard confusion matrix counts errors. A dollarized confusion matrix costs them. The two wrong cells drive every decision that follows.
The insight: the four cells rarely cancel. Value on the diagonal moves the threshold just as much as cost off the diagonal.
Threshold Calculator
The cost of predicting negative and being wrong (missed gain + missed catch) is 1001x the cost of predicting positive and being wrong. Set the threshold low - flag aggressively. At θ* = 0.0010, you flag anything above 0.1% confidence. The asymmetry is extreme - even a small probability of a positive should trigger a flag.
The Formula
A correct prediction has a value too, not just zero. Flagging a true positive is worth V_TP (caught fraud is revenue retained). Passing on a true negative is worth V_TN (the frictionless path through the system). The Bayes-optimal threshold balances the expected utility of predicting positive against predicting negative, giving:
The numerator is what you lose when you predict positive and are wrong: you pay C_FP (the false alarm) and you forfeit V_TN (the clean pass you would have gotten). The denominator adds the symmetric loss on the other side. When all four are measured in the same units (dollars per decision), the threshold comes out dimensionless, which is what any probability gate requires.
Worked Examples
From Threshold to Autonomy
The threshold tells you where to draw the line. The expected cost per item tells you how much autonomy the classifier earns.
Connection to the Templeton Ratio
The Verification Quadrant asks: how hard is it to check? The Dollarized Confusion Matrix asks: what happens when you check wrong?
Cost asymmetry modifies the effective Templeton Ratio. A task with T = 10 (fast verification) but 1,000:1 cost asymmetry needs verification at a much higher confidence level. The time to verify stays cheap, but the required thoroughness is driven by the stakes.
The Verification Quadrant tells you where to automate. This matrix tells you how carefully to calibrate what you automate.
When to Use This
Use when
- +Costs of FP and FN are measurable
- +Asymmetry exists (at least 2:1)
- +You control the decision threshold
- +Volume justifies the optimization
Skip when
- -Costs are symmetric (just use 0.5)
- -Scores are not calibrated probabilities
- -Regulatory bright-lines override cost math
- -Zero-tolerance domain (infinite FN cost)
Rosetta Stone
Four circles, four readings of the same object. Each role reads the artifact through its own lens.
The cost of being wrong, direction by direction. Thresholds follow from costs, not from convention. 0.5 is rarely optimal.
The answer to "how cautious should the AI be?" - not a feeling, a formula. Plug the cost per false positive and false negative, get the threshold back.
The calibration knob for any classifier in production. Two dollars, one number. Stop arguing about thresholds in review.
Bayes risk minimization with asymmetric loss. The optimal decision boundary is the likelihood ratio equal to the cost ratio. Textbook decision theory, rarely applied in practice.
See also
Which bets to make. Capital allocation, M&A due diligence, portfolio construction.
How to execute at scale. Multi-brand portfolio, turnarounds, P&L ownership.
Builds it, ships it, owns it. Solo full-stack, DevOps, production systems.