the.ai

Foundations / Supervised

verified

Decision Tree

Ask a series of yes-or-no questions about a data point until you reach an answer. Each question splits the data, and the tree picks whichever split separates the classes best at that point. It is the one model family a person can simply read: the path to a prediction is the explanation for it.

Viz primitive · budget-splitimpurity-removed = 3

impurity-removed holds 30% of the budget; rest holds the remaining 70%.

Impurity a tree has removed against what is left at its leaves, in equal units. Drag the depth to watch the training set become pure — and the tree become memorisation.

3

Reviewed by opendroid · 2026-08-13

  • arXiv:2207.08815 — Why do tree-based models still outperform deep learning on tabular data?

Origin · not linkable

  • Hyafil & Rivest 1976 — Constructing Optimal Binary Decision Trees is NP-complete · Information Processing Letters 5(1) · doi:10.1016/0020-0190(76)90095-8