Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.clickml.app/llms.txt

Use this file to discover all available pages before exploring further.

Decision Tree learns a set of if/then rules from your data. It’s the most interpretable model in the toolbox — you can trace exactly why a prediction was made.

Configuration

ParameterDescriptionDefault
Max DepthMaximum tree depth. Shallower trees generalize better. Leave empty for unlimited.None
Min Samples SplitMinimum samples to split a node.2
Min Samples LeafMinimum samples in a leaf node.1
CriterionSplit quality measure: gini or entropygini
Random StateSeed for reproducibility.42

Input / Output

Type
InputX Train + Y Train
OutputTrained Model

When to use

Good for understanding feature importance and building interpretable models. Does not require scaling. Prone to overfitting — use Max Depth to control tree size.