# Decision Trees

A decision tree sorts examples into classes with yes-or-no questions about their features, picking each question so the groups it makes are as unmixed as possible (the Gini impurity), with max_depth to limit how many questions it asks and no need to rescale the features first.

![Cheat sheet: Decision Trees](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/42d34a2bbb3e4cf9b632e7dc98adb6b1.webp)

- Category: Machine Learning
- Level: Journeyman
- Tags: ai, Decision Tree, Gini Impurity, Leaf Node, Overfitting, python
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/ml-decision-trees-cheat-sheet
