ZZomato·BehavioralML-2DSA Round

Bagging vs Boosting

viaGlassdoor

Question: Explain bagging and boosting. Key points: Bagging (Bootstrap Aggregating) trains multiple models independently and in parallel on bootstrapped samples of the data, then averages/votes their predictions to reduce variance (e.g. Random Forest). Boosting trains models sequentially, with each new model focused on correcting the errors of the ensemble so far, reducing bias (e.g. AdaBoost, Gradient Boosting/XGBoost). Bagging is generally more robust to overfitting; boosting often achieves higher accuracy but needs careful regularization.

Add a follow-up question they asked
No follow-ups yet. Be the first to add one.
asked …
LeaderboardSalary
Language
Account