Guide-linked quiz · Easy Level
Decision Trees and Random Forests Quiz
Review tree decision paths, overfitting, ensemble aggregation, bootstrap samples, split criteria, boosting, random features, and out-of-bag evaluation.
Question 1 of 8
How does a decision tree make a prediction?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- How does a decision tree make a prediction?
- By averaging all pixels in an image
- By translating text between languages
- By randomly guessing each time
- By following a series of yes/no questions down to a leaf
- What is the main weakness of a single, deep decision tree?
- It cannot handle numbers
- It tends to overfit and memorize noise in the training data
- It can only output text
- It requires a GPU to run
- How does a random forest combine the predictions of its constituent trees?
- By aggregating predictions, such as class votes or probabilities
- By using exactly one tree and discarding every other output
- By converting all trees into one fixed training row
- By guaranteeing that all individual errors cancel
- What sampling operation does bagging use when constructing conventional bootstrap training sets?
- Sorting rows only by filename
- Permanently deleting all numerical features
- Drawing training rows with replacement
- Assigning exactly one unique row to every tree
- What metric do classification trees commonly use to choose a split?
- Pixel brightness
- Gini impurity or entropy
- Audio frequency
- Word count
- Which named system is described in the paper A Scalable Tree Boosting System?
- Photoshop
- FFmpeg
- Kubernetes
- XGBoost
- Which random-forest mechanism varies candidate input features at a split rather than resampling training rows?
- Bootstrap row sampling alone
- Alphabetical label sorting
- Random feature-subset selection
- A guarantee of identical splits in every tree
- For a training row in a bootstrap forest, which trees should contribute to its out-of-bag prediction?
- Trees whose bootstrap samples omitted that row
- Only trees whose samples included that row at least twice
- Every tree regardless of whether it trained on the row
- A required newly trained tree using only that row
Keep testing yourself
More quizzes picked for your level.