Skip to content

Glossary: ML Basics

max_depth

Also written: min_samples_leaf, max_leaf_nodes

Hyperparameters that rein in trees. max_depth is the most questions in a row; min_samples_leaf is the fewest training rows a leaf may hold; max_leaf_nodes caps the leaves per tree.

Where the book teaches it

Related terms

Decision treeOverfitting