aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 10. Decision Trees & Ensemble Learning
Lesson 4 of 6 8 min · 126 words

Bagging

Training on bootstrap samples and averaging to reduce variance.

Bagging (bootstrap aggregating) reduces variance by averaging many models trained on different versions of the data:

  • Draw bootstrap samples: each is examples drawn *with replacement* from the training set (about 63% unique examples each).
  • Train one model — usually a deep, low-bias tree — on each sample.
  • Predict by majority vote (classification) or averaging (regression).

Averaging models with variance and pairwise correlation gives variance . Bagging lowers the second term; it works best for unstable, high-variance models like deep trees.

Formula to remember

Boosting

Each stage adds a small model with learning rate ν.

Quick check · +5 XP

Random forests differ from plain bagging because they…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser