Learn R Programming

⚠️There's a newer version (2.2.2) of this package.Take me there.

gbm

Overview

The gbm package (which stands for generalized boosted models) implements extensions to Freund and Schapire’s AdaBoost algorithm and Friedman’s gradient boosting machine. It includes regression methods for least squares, absolute loss, t-distribution loss, quantile regression, logistic, multinomial logistic, Poisson, Cox proportional hazards partial likelihood, AdaBoost exponential loss, Huberized hinge loss, and Learning to Rank measures (i.e., LambdaMart).

Installation

# The easiest way to get gbm is to it install from CRAN:
install.packages("gbm")

# Or the the development version from GitHub:
# install.packages("devtools")
devtools::install_github("gbm-developers/gbm")

Lifecycle

The gbm package is retired and no longer under active development. We will only make the necessary changes to ensure that gbm remain on CRAN. For the most part, no new features will be added, and only the most critical of bugs will be fixed.

This is a maintained version of gbm back compatible to CRAN versions of gbm 2.1.x. It exists mainly for the purpose of reproducible research and data analyses performed with the 2.1.x versions of gbm. For newer development, and a more consistent API, try out the gbm3 package!

Copy Link

Version

Install

install.packages('gbm')

Monthly Downloads

28,901

Version

2.1.4

License

GPL (>= 2) | file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

September 16th, 2018

Functions in gbm (2.1.4)

gbmCrossVal

Cross-validate a gbm
grid.arrange

Arrange multiple grobs on a page
pretty.gbm.tree

Print gbm tree components
predict.gbm

Predict method for GBM Model Fits
shrink.gbm

L1 shrinkage of the predictor variables in a GBM
shrink.gbm.pred

Predictions from a shrunked GBM
interact.gbm

Estimate the strength of interaction effects
plot.gbm

Marginal plots of fitted gbm objects
gbm.roc.area

Compute Information Retrieval measures.
reconstructGBMdata

Reconstruct a GBM's Source Data
relative.influence

Methods for estimating relative influence
summary.gbm

Summary of a gbm object
print.gbm

Print model summary
quantile.rug

Quantile rug plot
test.gbm

Test the gbm package.
gbm.more

Generalized Boosted Regression Modeling (GBM)
guessDist

gbm internal functions
gbm-package

Generalized Boosted Regression Models (GBMs)
gbm.object

Generalized Boosted Regression Model Object
basehaz.gbm

Baseline hazard function
gbm.perf

GBM performance
calibrate.plot

Calibration plot
gbm

Generalized Boosted Regression Modeling (GBM)
gbm.fit

Generalized Boosted Regression Modeling (GBM)