Tree depth and leaf size
Also: max_depth, min_samples_leaf
Models and settings
The two main brakes on a tree. max_depth limits how many questions in a row; min_samples_leaf sets the smallest group a final box may describe. Without them, a tree memorises the training rows.
Examplemax_depth=3 gives a readable flowchart; no limit gives a perfect training score and poor validation.
