Each Step trains one tree on a fresh bootstrap sample. The heatmap is the average of every learner's vote — open Internals to see the individual learners and knock them out of the vote.
class 0class 1filled = train, hollow = testhover to probe · click to pin
step 0train err —train acc —test acc —
Spaceplay/pauseSstepRreset
Data
datasetpoints150noise0.15seedsplitmouse
Bootstrap sampling
n′=⌈ρn⌉=n′P(omitted)=(1−n1)n′=p
Faded points in the learner strip were never drawn for that learner; larger points were drawn multiple times.
Aggregate prediction
pˉ(x)=M1m=1∑Mpm(x)=pˉ
Why averaging helps
Var(M1∑mfm)=Mσ2(if the fm were independent)
Bootstrapped trees are correlated, so the true reduction is smaller — but the direction holds.
What's simplified here
Base learners are the same CART trees as the tree page (Gini, min 2 samples per leaf).
Aggregation averages class probabilities (soft voting); majority vote differs only at exact ties.
Bootstrap draws come from the train split only — the test points never enter a bag.