Rule of thumb: - Random forest: great default β parallelisable, robust, minimal tuning - Gradient boosting (XGBoost): often best performance, but requires tuning (learning rate, depth, rounds) and is sequential (slower) - Bagging: rarely used alone; superseded by random forests
In practice: try random forest first, then gradient boosting with early stopping if you need more accuracy. Both should be compared against the simpler methods (logistic, LASSO) β sometimes the gain is marginal and the simpler model is preferred for interpretability.