The four cells
| Actually bad (event) | Actually good | |
|---|---|---|
| Flagged as bad | True positive (TP) | False positive (FP) |
| Flagged as good | False negative (FN) | True negative (TN) |
Precision = TP ÷ (TP + FP) · Recall = TP ÷ (TP + FN) · Accuracy = (TP + TN) ÷ total
Worked example (illustrative figures)
10,000 applicants, 1,000 of them bad. The model flags the riskiest 20%, 2,000 applicants:
| Actually bad | Actually good | |
|---|---|---|
| Flagged as bad (declined) | 600 | 1,400 |
| Flagged as good (approved) | 400 | 7,600 |
Recall is 60%: the model catches 600 of the 1,000 bads. Precision is 30%: 3 in 10 declined applicants would have been bad. Accuracy is 82%. Note that declining nobody would give 90% accuracy and catch no bads, so accuracy alone is misleading when events are rare.
The threshold is a business decision
Moving the threshold trades false positives for false negatives. In credit a false positive is a good customer declined (lost margin) and a false negative is a bad loan approved (a loss). The right threshold is where the cost of both errors, weighted by their frequency, is lowest.
How Thorcast.AI helps
- The evaluation metrics of every classification model include the confusion matrix with an editable decision threshold, plus accuracy, precision, recall and F1.
- Champion–Challenger shows both models' confusion matrices at the same operating point (the top X% by risk) and the marginal matrix of differences, with a verdict on which classifies better.
- Decision layers turn each threshold into approval, risk and economic impact.
Frequently asked questions
What is the difference between precision and recall?
Precision: of those flagged as events, how many really were. Recall: of all real events, how many the model flagged.
Why is accuracy misleading for credit or fraud?
Because events are rare. If 2% of transactions are fraud, a model that flags nothing is 98% accurate and useless.
Which threshold should I use?
The one that minimizes the combined cost of false positives and false negatives for your business, not the default 0.5.