Chapter 7 Quiz
Learning objectives
- Test what Chapter 7 computed: the impurity of a node, how a tree chooses its split, pruning by cost complexity on Ogbon-1, and a tree's depth chosen on the Ogbon field's nine wells, leave one well out
This quiz covers Chapter 7, Sections 7.1 and 7.2: decision trees on the book's own synthetic Ogbon learning set. Every number in it is one those sections computed.
Key Ideas
- Impurity: the Gini impurity and the entropy , zero for a pure node and largest at even classes.
- A split: every midpoint of every log is a candidate; the tree takes the one whose children have the least weighted impurity .
- Pruning: cost complexity keeps the subtree that makes least, so a branch stays only if its leaves each save more than the price.
- Depth: the training score rises with every level; the held-out score, leave one well out, chooses the depth.
- Order: a split reads only the order of a log, so trees need no scaling and raw and log10 RT give the same trees.