Decision trees: Check your understanding
Stay organized with collections
Save and categorize content based on your preferences.
This page challenges you to answer a series of multiple choice exercises
about the material discussed in the "Overfitting and pruning" unit.
Question 1
What are the two potential effects of increasing the minimum number of
examples per leaf in a decision tree?
The size of the decision tree increases.
The size of the decision tree decreases.
Well done.
The structure of the decision tree can completely change.
The structure of the decision tree remains mostly unchanged.
Well done.
Question 2
What operations can reduce overfitting in a model known to be
overfitted (for example, by evaluating it on a test dataset).
Increase the maximum depth.
Decrease the maximum depth.
Increase the minimum number of observations in the leaves.
Decrease the minimum number of observations in the leaves.
Increase the minimum gain of a new node.
Decrease the minimum gain of a new node.
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 2023-06-14 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2023-06-14 UTC."}