Gradient Boosting and Residual Fitting

Build an additive predictor by fitting the next weak learner to a loss-derived update and control the impact of each stage.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Squared loss gives an ordinary residual target
  2. The ensemble is built sequentially

Squared loss gives an ordinary residual target

For current prediction \(F(x_i)\) and loss \(\tfrac12(y_i-F(x_i))^2\), the negative gradient with respect to fitted value is \(y_i-F(x_i)\). Fit a new tree or other restricted learner to those residuals, then add a scaled version of its outputs. A point underpredicted by two initially contributes target two to this step. For other differentiable losses, use their negative derivatives instead of raw residuals.

The ensemble is built sequentially

Each new learner depends on the current ensemble’s errors. A shrinkage factor and tree-depth limit control how much the next stage can change predictions. Validation can choose when additional rounds stop helping. Decision tree splits explain how a weak learner partitions input. Cross-validation estimates the effect of the whole tuning process.[1][2]

References

  1. Gareth James et al., An Introduction to Statistical Learning ↩
  2. Trevor Hastie, Robert Tibshirani and Jerome Friedman, The Elements of Statistical Learning ↩