←
1
2
3
The Question Tree
See how a computer decides with yes-no questions.
🎯
Step 1 of 3
What you'll learn in this level
- How a chain of yes/no questions leads to a decision
- What root, branches and leaves are in a tree
- Why trees explain well but quickly become too rigid
Ask Your Way to the Answer
Decision trees are like a game of '20 Questions'. The computer asks a series of Yes/No questions to narrow down the possibilities.
By following the branches based on the answers, it eventually reaches a 'leaf' which is the final decision or prediction.
How It Works
- 1
Root Question
Start at the top with the most important question.
- 2
Follow Branches
Go left for 'No' or right for 'Yes'.
- 3
Reach a Leaf
At the end of the tree stands the finished answer.
- 4
Real World
Doctors and banks work like this. And many others too.
Ready? Then climb the question tree.
Guess first, then experiment
A decision tree can explain every answer it gives. Does that also make it the best model?