A 3-class classifier may also reject (refuse to decide). A wrong decision costs 1, a correct decision costs 0, and rejecting costs . For the posteriors and , what should the classifier do? What is the general rule in terms of ?
Supervised learning, Bayes decision theory
Level L2 Elementary. Length Short. Nature Mat Mathematical.
What's being asked
Whether you can compare the risk of the best class with the cost of rejecting.
Key idea
Classify as if ; otherwise reject.
Steps
- If we choose the best class, the expected cost is (we are wrong with that probability).
- If we reject, the cost is always . So reject when , that is when .
- Here . First case: , so reject (expected cost of classifying is ).
- Second case: , so classify as class 1 (expected cost ).
- If (here ), the largest posterior is always at least , so nothing is rejected. If , everything with is rejected.
Common mistakes
- Rejecting when the maximum posterior is below regardless of the cost. The threshold is .
- Comparing a likelihood to the threshold. The rule uses posteriors.
- Forgetting that a lower rejection cost means more rejections, because rejecting becomes cheap.
How long your answer should be
4–5 lines with numbers.
Last checked on 4 December 2026.
Read this
Previous in Supervised learning: A screening test must decide between "disease" () and "healthy" (). The loss is 0 for a correct decision, 20 for declaring "healthy" when the person has the disease, and 1 for declaring "disease" when the person is healthy. For one patient the posterior is . Which decision minimises the expected loss, and above what posterior probability of disease should we declare "disease"?
Next in Supervised learning: The training points are red, red, blue, blue and blue. Using Euclidean distance, classify the query with , and . What does this tell you about the choice of ?