# Classification errors and business costs

For four invented requests, actual urgent labels are1,1,0,0 and predicted urgent labels are1,0,1,0. Work through each record before reading the result. One urgent case is detected, one routine case is correctly left routine, one routine case triggers an unnecessary escalation and one urgent case is missed. Therefore TP=TN=FP=FN=1; precision, recall and accuracy are each0.5. The fixture evaluates supplied predictions; it does not fit a classifier or derive a threshold.

Use an explicitly invented cost policy: a missed urgent case costs10 units and an unnecessary escalation costs2. Total error cost is12. Change the costs to100 and1 and the same predictions cost101. This is a managerial judgement about consequences, not a universal monetary valuation. State the unit, time horizon and exclusions. For health, safety or regulated decisions, a simple financial score cannot replace the relevant decision obligations.

Try no positive predictions. Precision has a zero denominator and is reported as unavailable, not silently converted into perfect performance. Try no actual positives: recall is unavailable. The code rejects labels outside integer0/1, mismatched lengths and negative or non-finite costs. If comparing systems, use the same labelled cases and cost policy. Separately evaluate coverage, uncertainty and who bears the consequences of mistakes.

Operations owns the escalation process; customer service reviews harms from delay; managers approve the cost assumptions; analytics computes metrics and documents their limitations. Ask Whom a false alarm burdens, Whose case is missed and Which threshold trade-off would be acceptable if scores were available. Foundation: narrate all four outcomes. Undergraduate: derive the confusion matrix. Postgraduate: compare thresholds, prevalence and subgroup error rates using a larger appropriate dataset. Research: design a study of decision utility and human overrides. Submit a record-level table, calculations, two cost policies and an escalation recommendation. No model certification or causal conclusion follows from these four cases.

## Expected baseline

TP=TN=FP=FN=1;precision=recall=accuracy0.5;error cost12.

## Evidence

1. Write hand predictions before running the fixture.

Response:

2. Run the implementation and tests;compare expected output.

Response:

3. Complete the specific changed and failure cases described above.

Response:

4. Submit the four-level study evidence and departmental decision memo.

Response:
