Decision Trees

A series of simple questions can narrow down a decision. A decision tree learns which questions to ask from the examples and places a prediction at the end of each route.

24 sections · 15 questions · 4 coding challenges

1 / 24

Could We Reach an Answer by Asking Smaller Questions?

BOTIE

A single rule may describe a population poorly because different parts of it behave differently. Perhaps one measurement is useful for one group, while another becomes useful only after we have separated that group from the rest.

The 1984 Classification and Regression Trees book brought together a systematic treatment of learning tree-shaped prediction rules. We need a way to choose each split from observations, then decide when extra branches stop helping. A branch can improve the training fit simply by following details that do not recur in new data. The book addressed how to grow the tree and how to prune it back.

At each step, a tree asks a question about an input and divides the examples according to the answer. Each resulting group can ask another question. The final groups provide predictions. A sequence of simple questions can describe quite different regions, but continuing until every training case is isolated usually records details that will not repeat. Stopping and pruning are therefore part of the method.

Sources for this history