Skip to main content

Module ensembles

Module ensembles 

Source
Expand description

Ensembles: gradient-boosted regression trees for regression and classification.

Gradient boosting (Friedman) builds an additive model F(x) = F₀ + ν Σ_m h_m(x) stage by stage: each small regression tree h_m is fitted to the negative gradient of the loss at the current predictions, and its leaves take the Newton step Σ(−g) / Σh of the loss restricted to the leaf. The learning rate ν (shrinkage) and row subsampling (stochastic boosting) regularise the fit.

See the book entry Gradient boosting.

Structs§

BoostingParameters
Shared boosting settings.
GradientBoostingClassifier
Gradient boosting for classification with the multinomial deviance (softmax cross-entropy): one tree per class per stage, leaves taking the Newton step Σ(y − p) / Σ p(1 − p).
GradientBoostingRegressor
Gradient boosting for regression with the squared-error loss.
RegressionTree
A least-squares regression tree whose leaves hold Newton steps Σr / Σw (the mean residual when every weight is one).