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. It addressed both how to split observations and how to avoid keeping every split that improves the training fit. The problem was not merely drawing a flowchart; it was finding a useful flowchart from data.

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