Decision Tree — Step by Step
Watch a decision tree grow split by split, and see overfitting emerge.
Split 1 of 5
Split 1: x ≤ 5.8
Gini 0.50 → 0.35 (reduction 0.15) — the largest available on any leaf this round.
Train:7800%
Test:7800%
Decision Tree
Class 0 (blue)Class 1 (orange)
Decision Regions
Use arrow keys or buttons to step through splits. Leaf nodes show class label and point counts (blue/orange).