Random Forests

A collection of trees is less useful if they all make the same mistakes. Giving them different samples and different feature choices encourages the variety that can make their combined prediction more reliable.

20 sections · 15 questions · 4 coding challenges

1 / 20

Why Do All Our Trees Keep Asking the Same Question?

BOTIE

Training several trees does not help much if they repeatedly make the same decisions. A very strong input can be chosen near the top of almost every tree, leaving their predictions and mistakes strongly related.

Breiman's 2001 random forests paper combined trees with random feature selection, building on earlier work on randomised tree ensembles. The concern was the relationship between the trees: useful individual predictions become a stronger collection when their errors are less closely tied.

At a split, we offer a tree only a random selection of the available inputs. It must sometimes discover an alternative way to divide the examples. Combined with resampled training data, this produces a more varied collection of trees. The final vote or average can then benefit from that variety, provided the individual trees still contain useful information.

Sources for this history