What is the difference between bagging and boosting, in one sentence?

Supervised learning, Ensembles
Level L1 Beginner. Length One-liner. Nature Th Theoretical.

What's being asked

Whether you can name the one difference that matters: how the models are trained (independently or one after another) and which error each method reduces.

Key idea

Bagging trains many models independently on bootstrap samples and averages them, which mainly reduces variance; boosting trains weak models one after another, each focusing on the mistakes of the ones before, and adds them up, which mainly reduces bias.

Steps

  1. Bagging (bootstrap aggregating): draw B bootstrap samples, fit a deep tree to each in parallel, and average the predictions (or take a majority vote). A random forest is bagging plus a random subset of features at each split.
  2. Boosting: fit a simple model such as a stump, then fit the next one to the examples the ensemble gets wrong (AdaBoost reweights them; gradient boosting fits the residuals), and add the models with weights.
  3. Effect: averaging many noisy but unbiased models cuts variance; adding many biased weak learners step by step cuts bias.

Common mistakes

How long your answer should be

One sentence; add the parallel-versus-sequential picture if asked to explain.

Last checked on 4 December 2026.

Read this

Previous in Supervised learning: Why should you standardise features before running k-nearest neighbours (k-NN)?
Next in Supervised learning: In plain words, what does the hinge loss punish in a classifier, and what is the loss for a point with correct label +1 when the model's score for it is 0.5?