When does a deeper tree stop helping?
Seven decision trees were fitted to the same training sample and evaluated on a separate validation sample. The error percentages here are illustrative.
Your challenge
Increase tree depth one step at a time. Which depth makes the fewest validation errors?
17
Reveal the answer and interpretation
Depth 3 has 8% validation error. At depth 7 training error reaches zero, but validation error rises to 24%. The deeper tree fits the training sample more closely while making more mistakes on other people.