Bagging trains models in parallel on random resamples and combines them; it mainly reduces variance (random forest).
Boosting trains models sequentially, each one focusing on the errors of the previous ones; it mainly reduces bias (AdaBoost, gradient boosting, XGBoost).
Boosting often reaches higher accuracy but is more sensitive to noisy labels and overfitting, so it needs careful tuning.
Loading…