Bootstrap Matrix & OOB Convergence
Interactive 2D bootstrap sampler: watch a matrix of training rows light up as trees are grown, track a live convergence chart of the out-of-bag fraction against its theoretical limit 1/e, and compare the empirical draw-count histogram to the Poisson(1) limit.
Every tree in a bagged ensemble — random forests included — is trained on its own bootstrap resample: N rows drawn with replacement from N original training rows. This simulator draws that bootstrap sample as a lit-up grid of the training rows themselves, then plots a live convergence chart of the cumulative out-of-bag fraction against its theoretical limit — (1 − 1/N)^N, which approaches 1/e ≈ 36.8% as the dataset grows — alongside a histogram comparing the empirical draw-count distribution to the Poisson(1) limit random forests rely on for their internal, honest estimate of generalization error.
Grow bagged decision trees one bootstrap draw at a time on a live matrix of training rows, track a scrolling chart of the cumulative out-of-bag fraction converging on its theoretical 1/e limit, and compare the draw-count histogram against the Poisson(1) approximation.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install