How do bagging, boosting, and stacking differ at a conceptual level?

Quick Overview

Asks how bagging, boosting and stacking differ in the way they train base models and combine their predictions. Tests whether you can tie each ensemble method to the part of the error it reduces, the base learners that suit it, and its main failure mode, including leakage in stacking.

How do bagging, boosting, and stacking differ at a conceptual level?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

How do bagging, boosting, and stacking differ at a conceptual level? Compare how each method trains its base models and how it combines them into one prediction. ```hint Three questions per method For each method, ask whether the base models are trained independently or one after another, which part of the error the ensemble mainly removes, and how the final prediction is formed. ``` ### What a Strong Answer Covers - How base models are trained in each method and whether they depend on each other. - Which component of the error each method mainly reduces, and which base learners suit it. - How each method combines the base predictions into one output. - The main failure mode of each method, including leakage in stacking. ### Follow-up Questions - Why does a random forest subsample features on top of bootstrapping the rows? - Why can adding more rounds hurt a boosted model while adding more trees rarely hurts a bagged one? - How would you build the training data for a stacking meta-learner without leakage? - When would you choose stacking over a single well-tuned gradient boosting model?

Overview: Asks how bagging, boosting and stacking differ in the way they train base models and combine their predictions. Tests whether you can tie each ensemble method to the part of the error it reduces, the base learners that suit it, and its main failure mode, including leakage in stacking.

General logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

How do bagging, boosting, and stacking differ at a conceptual level? Compare how each method trains its base models and how it combines them into one prediction.

What a Strong Answer Covers Guidance

  • How base models are trained in each method and whether they depend on each other.
  • Which component of the error each method mainly reduces, and which base learners suit it.
  • How each method combines the base predictions into one output.
  • The main failure mode of each method, including leakage in stacking.

Follow-up Questions Guidance

  • Why does a random forest subsample features on top of bootstrapping the rows?
  • Why can adding more rounds hurt a boosted model while adding more trees rarely hurts a bagged one?
  • How would you build the training data for a stacking meta-learner without leakage?
  • When would you choose stacking over a single well-tuned gradient boosting model?