How do you translate a model's confusion matrix into expected business value or profit to compare against a baseline?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
A binary classifier's confusion matrix tells you how many cases land in each cell (TP, FP, FN, TN) at a given threshold. How do you translate it into expected business value or profit, and how do you use that number to compare the model against a baseline?
```hint Price each cell
Put a dollar value on each of the four outcomes relative to one reference action, then ask which probabilities those values should be weighted by once the model is deployed.
```
```hint Pick the comparison
A model is only worth its gain over what you would do without it. List the simple policies that need no model at all.
```
### What a Strong Answer Covers
- A cost-benefit matrix with incremental values per cell, all defined against one consistent reference action
- Expected value per instance computed from cell rates at the deployment base rate
- Comparison against realistic baselines such as treat all, treat none, random targeting and the current process
- Choosing the threshold, or the top-k under a budget, by profit instead of a default cutoff
- Uncertainty in the estimate: bootstrap intervals, sensitivity to the assumed costs, and an online test
### Follow-up Questions
- The test set was downsampled to 50/50 classes, but the real churn rate is 5%. How do you correct the profit estimate?
- The retention offer only works on some churners, and some flagged customers would have stayed anyway. How does that change the TP value, and when would you move to uplift modeling?
- Marketing can send at most 1,000 offers a month. How does that change threshold selection?
- Your cost estimates are rough guesses. How do you tell whether the model's advantage survives that uncertainty?
Overview: Asks how to convert a binary classifier's confusion matrix into expected business value and compare it with simple baselines such as treating everyone or no one. Tests cost-benefit reasoning, base-rate handling, profit-based threshold choice and uncertainty in the estimated lift.