Exercises

Decision Trees and Tree Ensemble Methods Quiz

Explore how decision trees and tree-based ensembles learn from data. This quiz covers split criteria, tree complexity, pruning, bagging, random forests, out-of-bag evaluation, AdaBoost, gradient boosting, learning rates, early stopping, and feature importance. Questions range from foundational concepts to practical interpretation of tree diagrams and ensemble behavior.

Answer the questions below and check the explanation for each answer.

0/15 answered

  1. 1

    What is the Gini impurity of a decision-tree node in which every observation belongs to the same class?

  2. 2

    What is the usual effect of substantially increasing a decision tree's maximum depth?

  3. 3

    How is information gain for a candidate decision-tree split calculated?

  4. 4

    In the illustrated tree, which leaf is reached by a sample with x1 = 4 and x2 = 3?

    Question 4
  5. 5

    What is the primary statistical benefit of bagging many high-variance decision trees?

  6. 6

    The diagram shows a random forest workflow. Which added mechanism distinguishes a random forest from ordinary bagging of decision trees?

    Question 6
  7. 7

    Why does selecting a random subset of features at each random-forest split often improve the ensemble?

  8. 8

    The illustrated bootstrap sample was drawn from records 1 through 5. Which record is out-of-bag for this tree?

    Question 8
  9. 9

    How does boosting differ fundamentally from bagging?

  10. 10

    In gradient boosting for regression, what is the next tree generally trained to approximate?

    Question 10
  11. 11

    What is a common consequence of decreasing the learning rate in gradient-boosted trees while tuning the model appropriately?

  12. 12

    After a training observation is misclassified by a weak learner in AdaBoost, what usually happens to its weight?

  13. 13

    The three panels show decision boundaries fitted to the same noisy training data. Which panel most strongly suggests overfitting?

    Question 13
  14. 14

    According to the permutation-importance chart, which feature is most important to the fitted model?

    Question 14
  15. 15

    What does early stopping typically determine when training a gradient-boosted tree model?

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate