Decision trees and validation

A binary classification tree is grown until every terminal node contains observations of only one class.

  1. Explain why its training error may be misleading as an estimate of future error.

  2. Is a validation set useful? Explain with a concrete choice of tuning parameter and an explicit selection procedure.

  3. Describe the geometry of the decision regions for a tree that splits one numerical predictor at a time.

  1. Repeated splitting can fit peculiarities of the training sample and can isolate observations, so a low training error can coexist with high variance and with poor performance on new data. Perfect purity is impossible when identical predictor vectors have conflicting labels, unless the fitting rule does something beyond ordinary deterministic splits.

  2. A validation set is useful. Grow candidate subtrees along a cost-complexity pruning path on the training data, predict the validation labels, and choose a pruning parameter using validation loss. Refit as appropriate with that setting fixed, then evaluate on an untouched test set. Depth, leaf size, and split thresholds are other tuning choices. A tree’s greedy split fitting does not itself choose predictive complexity.

  3. Each split is an axis-aligned threshold. A leaf is an intersection of half-spaces, hence an axis-aligned rectangular region, possibly unbounded. A class region can be a union of several such leaves.