Ensemble learning
Combining many models so their errors cancel out, as in random forests and boosting.
An ensemble trains several models and combines their predictions by voting or averaging. Bagging (random forests) trains models independently on bootstrap samples and averages them, mainly reducing variance. Boosting (AdaBoost, gradient boosting, XGBoost) trains models in sequence, each one correcting the previous ones, mainly reducing bias. Ensembles of trees are the strongest models on most tabular data.
See it in action
- Bagging and random forestsAverage many deep, decorrelated trees to keep their low bias and cancel their high variance.
- AdaBoostBoosting weak learners: reweight the mistakes, add a new stump, combine them by weighted vote.
- Gradient boosting (and XGBoost)Add small trees one at a time, each fitted to the gradient of the loss: the champion of tabular data.