Summary of a gbm object
Computes the relative influence of each variable in the gbm object.
summary.gbm(object, cBars=min(10,object$cCols), n.trees=object$n.trees, plotit=TRUE,...)
gbmobject created from an initial call to
- the number of bars to plot. Only the variables with
cBarslargest relative influence will appear in the barplot.
- the number of trees used to generate the plot. Only the first
n.treestrees will be used.
- an indicator as to whether the plot is generated.
- other arguments passed to the plot function.
Details to come later
- Returns a data frame where the first component is the variable name and the second is the computed relative influence, normalized to sum to 100.
J.H. Friedman (2001). "Greedy Function Approximation: A Gradient Boosting Machine," Annals of Statistics 29(4).
Looks like there are no examples yet.