Bagging (Bootstrap Aggregating)
Definition
Ensemble method that trains multiple models on training samples drawn randomly with replacement and combines their predictions.
Bagging creates multiple bootstrap samples from the same training dataset. A model is trained on each sample. For regression, predictions are typically averaged, combined for classification. The method can reduce the variance of unstable learning methods.
Simply explained
You train several models on slightly different random samples and then let them decide together.
Why it matters in practice
Important ensemble principle behind procedures such as Random Forests. It can provide robust predictions, but it does not replace independent evaluation.
Example from business
Example scenario: Multiple decision trees are trained on different bootstrap samples and their classifications are merged.
Limits and pitfalls
- Confuse bagging with boosting; refer to random samples without backing as standard bagging; data leakage between training and testing; guarantee improvement on each model type.
Origin & history
Leo Breiman coined Bagging as “Bootstrap Aggregating” and published the method in 1996 in Machine Learning.
Use in mid-sized companies
- For tabular classification and regression problems, check as a robust ensemble baseline and compare against simpler models and boosting.
Frequently asked questions
Is Random Forest Bagging?
It combines bagging of trees with additional feature randomness.
Is Bagging Boosting?
No.
Why multiple models?
Their different errors can be partially compensated by aggregation.
Sources
- Bagging Predictors (1996) · Breiman, Bagging Predictors (1996)
- Bagging Predictors · UC Berkeley, Bagging Predictors
Source check: 09.10.2026. Definition and documented classification verified; examples describe possible applications.
Editorially reviewed on: