📈Decision Tree
Also known as Classification Tree, Regression Tree
A model that asks yes or no questions. Each answer leads to the next one, until it is done.
Think of it like
Think of it like a game of twenty questions. Each answer sends you down one path.
Example
Jack's tree for getting to work asks: Is it raining? If yes, take the bus. If no, is it colder than 5 degrees? If yes, bus. If no, bike.
Why it matters
It is one of the easiest models to explain. It is also the building block for random forests and gradient boosting.
Definition
Common mistake
Key takeaways
- 1Yes or no questions. One split at a time.
- 2Clean splits. Training picks the best questions.
- 3Easy to read. You can follow every path.