Gradient Boosting and Ensemble Methods
Error Decomposition: Bias and Variance → Bagging: Reducing Variance → Boosting: Reducing Bias → Modern Implementations → Numerical Example → Real-World Applications
A single classifier is almost always worse than the collective: different models make different mistakes, and their combination reduces the total error. Ensemble methods are the foundation of winning solutions in machine learning on real-world data.
The error of any algorithm can be decomposed: Err = Bias² + Variance + Irreducible noise. Bias is the systematic error due to incorrect model assumptions: an overly simple model "misses" the correct answer even with infinite data. Variance is the sensitivity of the model to random fluctuations in...
The intuition: a shooter with high bias aims away from the target; a shooter with high variance is accurate but inconsistent. We want neither.
Bagging (Bootstrap Aggregation, Breiman, 1994): train B models on B bootstrap samples (each is a random sample with replacement from the original n objects), then average the predictions. For regression: $\hat{F} = (1/B)\sum F_b(x)$. For classification—majority vote.