Decision Rule
A decision rule converts a model output into an action: class label, thresholded alert, ranking, abstention, generated candidate, or human-review route. It should be defined by the downstream cost or utility, not only by model convenience.
Given a predictive distribution and action set , the risk of action is:
where is the cost of taking action when the true outcome is .
The Bayes decision minimizes expected cost:
Classification
With zero-one loss:
the optimal decision is the maximum-probability class:
With asymmetric costs, the best threshold can move away from .
Binary Threshold
For binary prediction with probability , choose positive action if:
In practice, this becomes a threshold rule:
where should be selected on validation data according to the decision objective.
Abstention
If the model can defer to another process, abstention is another action:
Abstention is useful only if its cost is lower than the expected cost of a likely wrong prediction.
Checks
- What action is taken from the model output?
- What cost or utility defines a good action?
- Is the threshold or policy selected on validation data, not test data?
- Are probabilities calibrated enough for cost-sensitive decisions?
- Are hard-decision metrics separated from probability and ranking metrics?
- Does the decision rule remain valid under dataset shift?