Decision trees: Check your understanding
This page challenges you to answer a series of multiple choice exercises
about the material discussed in the "Decision trees" unit.
Question 1
The inference of a decision tree runs by routing an example...
from the root to the leaf.
Well done!
from the leaf to the root.
All inference starts from the root (the first condition).
from one leaf to another.
All inference starts from the root, not from a leaf.
Question 2
Do all conditions involve only a single feature?
No.
Although axis-aligned conditions only involve a single feature,
oblique conditions involve multiple features.
Yes.
Oblique features test multiple features.
Question 3
Consider the following prediction map on two features x1 and x2:

Which of the following decision trees match the prediction map?
Decision Tree C.
If x1 is not ≥ 1.0, then the leaf should be 'blue' rather than
'orange', so this is the wrong leaf.
Decision Tree B.
If the condition x2 ≥ 0.5 is no, then the leaf may or may not be
blue, so this is a bad condition.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-25 UTC.
[null,null,["Last updated 2025-02-25 UTC."],[[["This page provides multiple choice questions to test your understanding of decision trees."],["The questions cover topics such as decision tree inference, types of conditions used in decision trees, and interpretation of decision tree prediction maps."],["Correct answers are provided with explanations to reinforce learning."]]],[]]