Practice: Trees and Ensembles of Them
Question
Recognition · Error diagnosis
The variance of an average of
With
Which response identifies the error?
2 hints available, least help first.
Hint 1: Retrieval cue
Which of the two terms contains
Hint 2: Concept cue
Evaluate
Direct application
Ten observations,
A regression tree considers splitting at
Enter the value. It is checked against the answer and the precision this task asks for.
2 hints available, least help first.
Hint 1: Retrieval cue
The split puts the first five observations in one group and the last five in the other.
Hint 2: Next step
Compute each group's mean, then sum the squared deviations within each group and add the two totals.
Direct application · Prediction
A regression tree has one split, at
Enter the value. It is checked against the answer and the precision this task asks for.
1 hint available, least help first.
Hint 1: Retrieval cue
Follow the input through the split, then report what that leaf holds.
Classification
A deep regression tree is fitted, then refitted on a second sample from the same population. The two trees share no split, though their predictions are broadly similar. Which description is correct?
Direct application
An ensemble averages
Enter the value. It is checked against the answer and the precision this task asks for.
2 hints available, least help first.
Hint 1: Retrieval cue
Substitute directly; the two terms are
Hint 2: Next step
Interpretation
A tree's root splits on income at 41,500 dollars, scoring
Transfer · Evaluation
A firm averages the quarterly forecasts of twelve analysts and finds the average far more accurate than any individual. It expands the panel to sixty analysts, all trained in the same programme and reading the same market reports, and the average barely improves. Which account explains this, and what would help?
Construction · Evaluation · Explanation
A maintenance team records, for each of eight machines, the hours run since the last service and the number of faults in the following week:
| hours | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 |
|---|---|---|---|---|---|---|---|---|
| faults | 1 | 2 | 1 | 2 | 6 | 7 | 6 | 7 |
Work through the following.
- The first split. Evaluate the candidate at
by the tree criterion, showing the two group means and the total. State what you would compare it against to know whether it is the split the criterion selects. - Prediction. Give the tree's prediction for a machine at 55 hours and for one at 78 hours, and say what the two answers have in common and why.
- Stability. A colleague reports that this tree "shows faults rise sharply after 45 hours". Say what the tree does and does not establish about the location of that threshold.
- Whether to average. The team proposes bagging 500 such trees. Say what averaging would and would not improve here, and identify the property of these trees that decides whether the exercise is worth the computation.
- A forest. Suppose the data gained nine further predictors, one of which is strongly informative. Say what a random forest would do differently from bagging, what it costs each individual tree, and why the trade can still favour the ensemble.
Write your answer, then compare it with the worked solution.
3 hints available, least help first.
Hint 1: Retrieval cue
For part 1, each group's deviations are measured from that group's own mean, not from the overall mean.
Hint 2: Concept cue
For part 3, ask which thresholds between 40 and 50 the data would distinguish.
Hint 3: Strategy cue
For part 4, ask what bagging removes, and then whether these particular trees have any of it.
Compare with the worked solution
Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.
1. The first split. At
A complete answer does each of these:
- selects split by criterion
- reads tree prediction
- attributes tree variance
- quantifies averaging gain
- explains decorrelation
Session complete
Every question in this set has been through once. What you can do now depends on how it went — practising again is worth more than moving on if any of it was uncertain.
Practice data
Your practice record is stored in this browser only. Clearing it removes every answer and every scheduled review, and cannot be undone.