Class 0
Class 1
Tree leans class 1
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.
This simulation grows a real random forest in 3D instead of animating a canned diagram of one. A ring of literal trees each trains on its own bootstrap-resampled draw of the data, splitting nodes only on a random subset of the two available features and choosing thresholds that minimize Gini impurity — the same recursive CART procedure scikit-learn runs under the hood. The forest floor at the center renders the ensemble's actual majority-vote decision surface, recomputed every time you retrain, alongside a live out-of-bag accuracy estimate computed from the points each tree never saw during its own training.