Configuration
| Parameter | Description | Default |
|---|---|---|
| Max Depth | Maximum tree depth. Shallower trees generalize better. Leave empty for unlimited. | None |
| Min Samples Split | Minimum samples to split a node. | 2 |
| Min Samples Leaf | Minimum samples in a leaf node. | 1 |
| Criterion | Split quality measure: gini or entropy | gini |
| Random State | Seed for reproducibility. | 42 |
Input / Output
| Type | |
|---|---|
| Input | X Train + Y Train |
| Output | Trained Model |