Voting forest
Train a Random Forest in your browser and compare one tree alone with the whole forest.
What this lab shows
A Random Forest brings together many decision trees, each trained on a random sample of the data and drawing attributes at each question. Here the trees are really trained in your browser, and you see side by side the boundary of one tree alone and that of the forest, the vote at a point and the accuracy on data no tree has seen.
Points generated by a made-up rule, with noise. The trees, the random draws and the vote are really computed.
How to use it
- With one tree and no depth limit, compare the accuracy on training data with the accuracy on new data.
- Raise the number of trees and watch the forest boundary get smoother and the accuracy curve level off.
- Tap a spot in the drawing to see how many trees voted yes there and the path of one of them.
Illustrative dataPoints generated by a made-up rule, with noise. The trees, the sampling and the vote are really computed in your browser.
The lab could not load. The summary above still applies.
Books that use this lab
No published book uses this lab yet.