encyclopegia.org

Bootstrap aggregating

Bootstrap aggregating, also called bagging (from bootstrap aggregating) or bootstrapping, is a machine learning (ML) ensemble meta-algorithm designed to improve the stability and accuracy of ML classification and regression algorithms. It also reduces variance and overfitting. Although it is usually applied to decision tree methods, it can be used with any type of method. Bagging is a special case of the ensemble averaging approach.

Bootstrap aggregating, also called bagging (from bootstrap aggregating) or bootstrapping, is a machine learning (ML) ensemble meta-algorithm designed to improve the stability and accuracy of ML classification and regression algorithms. It also reduces variance and overfitting. Although it is usually applied to decision tree methods, it can be used with any type of method. Bagging is a special case of the ensemble averaging approach. ==Description of the technique== Given a standard training set D of size n , bagging generates m new training sets D_i , each of size n' , by sampling from D uniformly and with replacement. By sampling with replacement, some observations may be repeated in each D_i . If n'=n , then for large n the set D_i is expected to have the fraction (1 - 1/e) (~63.2%) of the unique samples of D , the rest being duplicates. This kind of sample is known as a bootstrap sample. Sampling with replacement ensures each bootstrap is independent from its peers, as it does not depend on previous chosen samples when sampling. Then, m models are fitted using the above bootstrap samples and combined by averaging the output (for regression) or voting (for classification). Bagging leads to "improvements for unstable procedures", which include, for example, artificial neural networks, classification and regression trees, and subset selection in linear regression. Bagging was shown to improve preimage learning. On the other hand, it can mildly degrade the performance of stable methods such as k-nearest neighbors. for i = 1 to m { D' = bootstrap sample from D (sample with replacement) Ci = I(D') } C*(x) = argmax #{i:Ci(x)=y} (most often predicted label y) y∈Y

References

No reference rows published for this article.

Cite this article

MLA

"Bootstrap aggregating." encyclopegia.org, 2026, https://encyclopegia.org/wiki/bootstrap-aggregating. Accessed 25 November 2026.

Chicago

"Bootstrap aggregating." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/bootstrap-aggregating.

APA

encyclopegia.org. (2026). Bootstrap aggregating. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/bootstrap-aggregating

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Bootstrap Productions

stub · references available

Extension:BootStrap

stub · references available

Bootstrap Protocol

enwiki · references available

Operation Bootstrap

enwiki · references available

Aggregating anemone

enwiki · references available

Bootstrap model

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1375890244 · 0.5 · snapshot enwiki-001375890244

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.