Which group has higher entropy?
- Only apples in a fully pure group
- Only bananas, fully pure
- Half apples and half bananas
How does a decision tree sort data?
- By asking one yes or no question at a time down branches
- By guessing the group straight away without asking anything
- By sorting numbers from large to small only
Changing a few training rows can make a single tree grow a different shape with different answers.
Circle one: True False
In a forest, how is each tree fed its training data?
- Give each tree all rows without allowing repeats
- Draw a resample at random with replacement
- Use one row per tree and discard the remaining training rows
Eight fruits: 5 apples and 3 bananas. A gives 4 apples alone, and 1 apple with 3 bananas. B gives 3 apples with 1 banana, and 2 apples with 2 bananas. Which split has lower size-weighted entropy? Use H=0 for pure, 0.811 for a 1:3 mix, and 1 for half and half.
- A: its weighted entropy is lower
- B: its weighted entropy is lower
- Neither: a mixed child rules out a split
For two-class classification with an odd number of trees, how does a random forest combine the trees' predictions?
- It always trusts the tallest tree in the forest
- It averages the question wordings
- Every tree votes and the majority wins
Which statement describes the usual trade-off between a random forest and one readable tree?
- Usually better accuracy and steadiness, less readability
- Guaranteed accuracy gains with no loss of readability or need for tree voting
- Clearer explanations for every prediction, but no change in steadiness
Rows x=10,20,30,40 have labels C,C,D,D. Change two labels to C,D,C,D. Grow a pure tree using midpoint thresholds and lowest weighted entropy; choose the smaller threshold on ties. Which structure replaces the old root x<25 with leaves C and D?
- Keep x<25: yes C, no D; both children remain pure
- Ask x<15, then on no x<25, then on no x<35; the leaves are C,D,C,D
- Ask x<15: yes C, no D; no further questions are needed