CART, one split per Step click. Each split is the winner of an exhaustive gain scan (watch it in Internals); hovering a tree node highlights its rectangle on the plane.
class 0class 1filled = train, hollow = testhover to probe · click to pin
step 0impurity —train acc —test acc —
Spaceplay/pauseSstepRreset
Data
datasetpoints150noise0.15seedsplitmouse
Gini impurity
IG=1−k∑pk2=1−p02−p12=IG
Bound to the leaf under your cursor (or the last split node). Hover the plane to change it.
Entropy
H=−k∑pklog2pk=H
Information gain of the last split
Δ=I(parent)−nnLI(L)−nnRI(R)=Δ
The split chosen is the candidate with the highest Δ — watch the scan in Internals.
What's simplified here
The threshold scan is exhaustive over both features — with 2 features and small n this is the exact CART split, not an approximation.
No pruning; growth stops at max depth, min samples per leaf, or purity.