Jargonautica
Classical Machine Learning

Ensemble

Also called: Ensembles, Bagging, Stacking

Combining several models so that their mistakes cancel out. Different models tend to get different things wrong, so averaging their answers usually beats any single one of them. It is the machine learning equivalent of asking a room full of people rather than one expert.

Technical view

Bagging trains models on bootstrap samples in parallel and averages, reducing variance. Boosting trains them sequentially, each weighted towards the previous errors, reducing bias. Stacking trains a further model to combine their outputs. Gains depend on the base models being genuinely diverse and individually better than chance; ensembling near-identical models achieves very little. The costs are interpretability and inference time, which is why a single strong model is sometimes preferred in production even at a small loss of accuracy.


Part of AI Terminology Index, section: Classical Machine Learning.

How it connects

Ensemble links to 7 other terms. The faint lines are links between those terms. See it in the full graph.

OverfittingOverfittingRandom Forest and Gradient BoostingRandom Forest and G…Decision TreeDecision TreeVariance and Standard DeviationVariance and Standa…Bias-Variance Trade-offBias-Variance Trade…DistillationDistillationAleatoric and Epistemic UncertaintyAleatoric and Epist…Ensemble