Every model in this course so far has been judged by one number: how often it's right. But a model that's right 100% of the time and a model that's right 70% of the time can both be worth building — if the second one is simple enough that a person can actually say why it made each call.
Same ten points, two models. The "simple" model is one rule — one threshold, two regions — and you could recite its entire logic in a sentence. The "complex" model has enough boundaries to get every point right, but describing why it drew each one starts to require pointing at the data itself, not stating a rule.
For a set of decision regions, accuracy is just the fraction correctly classified. A simple, decreasing proxy for interpretability is one over the number of regions the model uses:
- accuracy — the fraction of the dataset the model classifies correctly.
- correct — the number of points the model classifies correctly.
- — the total number of points in the dataset.
- interpretability — a simple, decreasing proxy for how easy the model is to state as a short list of rules.
- regions — the number of decision regions the model carves the input space into.
- What the proxy stands in for
This interpretability score is a stand-in for something real: a model built from a handful of regions is one a person can hold in their head and restate as a short list of rules.
- The tradeoff it makes visible
A model built from dozens of regions — one for nearly every data point — has traded that away for the ability to fit exceptions no simple rule ever could.
Step through all three models. Each added split fixes one more of the dataset's exceptions — but every fix also grows the rule. By the third model, every single point is classified correctly, at the cost of a rule with four separate regions instead of two.
On the same 10-point dataset:
- Stump — 1 split, 2 regions
Accuracy . Interpretability . It gets the three "noisy" points near wrong, because a single threshold can't carve out a middle exception.
- Small tree — 2 splits, 3 regions
Accuracy . Interpretability . The extra split recovers , but now misses the lone point at .
- Black box — 3 splits, 4 regions
Accuracy . Interpretability . A third split finally isolates too — every point correct, at the cost of the most regions of the three.
Pick the model that reaches at least 90% accuracy while keeping interpretability above 0.3.
Neither number here is "the loss" — there's no single objective that says which model is better, because that depends on what the model is for. A model that flags fraud for a human reviewer to double-check needs to be checkable; a model that only has to be right, with nobody ever asking why, doesn't. The rest of this part is about a different way out of that tradeoff entirely: keep the accurate, complex model, and build tools that explain its decisions after the fact instead of simplifying the model itself. The first of those tools looks at exactly which pixels a model was looking at.