Math · Advanced · Lesson 2 of 8
Decision Trees
Twenty questions with data
An interactive lesson with 6 steps, about 5 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.
What you’ll learn
- A decision tree classifies with a sequence of threshold questions.
- Splits are chosen to minimise weighted Gini impurity.
- Deep trees overfit; forests of trees vote to reduce it.
Steps
- A flowchart of questions
- The first question
- Growing deeper
- Gini impurity
- Scoring a split
- Forests