Averaging Several Model Predictions

An ensemble can combine several regressors or probability predictors by averaging outputs under a documented rule.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace a small example
  2. Learn or choose weights carefully
  3. Average predictions with a stated common scale
  4. Check when combining is likely to help

Trace a small example

Predictions 2, 4, and 5 average to \(11/3\). If all three share the same error pattern, averaging cannot remove that common error. See weighted means.

Learn or choose weights carefully

Weights chosen using one observed outcome may overfit that example. Use a representative validation procedure and preserve an independent final check. Random forest errors describe the role of correlated errors in one ensemble family.[1]

Average predictions with a stated common scale

Three regressors predict four, eight and nine minutes. Equal averaging gives seven minutes. If the first should receive half the weight and the others one quarter each, the result is 6.25 minutes. See weighted expectations.

Equal weights: (4+8+9)/3=7
Weights .5,.25,.25 → 2+2+2.25=6.25
Inputs should describe the same target and units

Check when combining is likely to help

Models sharing the same systematic error can preserve it under averaging. Compare each and the combination on common held-out cases. For classified outputs, distinguish averaging probabilities from voting on labels.

References

  1. Gareth James et al., An Introduction to Statistical Learning ↩