Which Feature Mattered

A prediction alone does not tell us which measurements the model relied on. Feature importance methods give us ways to investigate that question, although their scores need careful interpretation.

14 sections · 10 questions · 4 coding challenges

1 / 14

Which Measurements Is the Model Actually Using?

BOTIE

A model may predict well without making it obvious which inputs matter to its decisions. Looking at one branch of one tree does not answer the question for a whole forest. We need a way to examine the fitted model's dependence on a measurement.

Breiman's 2001 random forests paper included an approach that perturbed a variable and measured the resulting change in predictive performance. The question was practical: if we disrupt this information while retaining the fitted predictor, how much worse does its work become?

Permutation importance shuffles one input across observations, breaking its original relationship with the answers. A large performance drop suggests the model relied on that relationship. Split-based importance asks a different question about improvement during tree construction. Neither is a direct measure of causation, and correlated inputs can hide each other's contribution, so the meaning of the reported importance depends on how we measured it.

Sources for this history