Which statement correctly contrasts bagging and boosting?
Show the answer and explanation
Correct answer: B, Bagging trains its models in parallel and mainly reduces variance; boosting trains them sequentially and mainly reduces bias.
Explanation Ensembles
| Bagging | Boosting | |
|---|---|---|
| Training | parallel, independent models | sequential, each depends on the last |
| Data per model | bootstrap sample | classically all rows, reweighted or fitted to residuals |
| Mainly reduces | variance | bias |
| Typical base learner | deep, low-bias trees | shallow, high-bias trees |
Bagging averages many unstable, low-bias models; averaging keeps the bias roughly the same but lowers variance. Boosting starts from weak, high-bias learners and keeps adding learners that correct the remaining error, which drives bias down.
The swapped statements reverse either the training order or the bias/variance roles. The "both use bootstrap samples" statement is wrong because classic boosting does not rely on bootstrap sampling and is inherently sequential.
Interview tip: add the practical consequence: boosting can overfit if you add too many rounds (use early stopping), while adding trees to a bagged forest does not cause overfitting.