Labs / Classical ML
Gradient boosting, round by round
Watch each stump fit the residuals; tune learning rate and rounds and find where test error turns up.
Theory and worked examples: Random forests and gradient boosting
Gradient boosting, round by round
Synthetic 1D regression (y = sin x + 0.3x + noise). Each round fits a one-split tree (a stump) to the current residuals and adds a fraction of it.
F5(x)after adding the next treeresiduals
traintestcurrent round