Learn R Programming

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

xgboost (version 1.0.0.1)

Extreme Gradient Boosting

Description

Extreme Gradient Boosting, which is an efficient implementation of the gradient boosting framework from Chen & Guestrin (2016) . This package is its R interface. The package includes efficient linear model solver and tree learning algorithms. The package can automatically do parallel computation on a single machine which could be more than 10 times faster than existing gradient boosting packages. It supports various objective functions, including regression, classification and ranking. The package is made to be extensible, so that users are also allowed to define their own objectives easily.

Copy Link

Version

Install

install.packages('xgboost')

Monthly Downloads

60,167

Version

1.0.0.1

License

Apache License (== 2.0) | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

March 23rd, 2020

Functions in xgboost (1.0.0.1)

getinfo

Get information of an xgb.DMatrix object
setinfo

Set information of an xgb.DMatrix object
xgb.Booster.complete

Restore missing parts of an incomplete xgb.Booster object.
cb.print.evaluation

Callback closure for printing the result of evaluation
slice

Get a new DMatrix containing the specified rows of original xgb.DMatrix object
print.xgb.cv.synchronous

Print xgb.cv result
predict.xgb.Booster

Predict method for eXtreme Gradient Boosting model
print.xgb.DMatrix

Print xgb.DMatrix
print.xgb.Booster

Print xgb.Booster
xgb.DMatrix.save

Save xgb.DMatrix object to binary file
xgb.DMatrix

Construct xgb.DMatrix object
xgb.cv

Cross Validation
dim.xgb.DMatrix

Dimensions of xgb.DMatrix
dimnames.xgb.DMatrix

Handling of column names of xgb.DMatrix
xgb.model.dt.tree

Parse a boosted tree model text dump
xgb.load

Load xgboost model from binary file
xgb.dump

Dump an xgboost model in text format.
xgb.gblinear.history

Extract gblinear coefficients history.
xgb.attr

Accessors for serializable attributes of a model.
xgb.train

eXtreme Gradient Boosting Training
xgb.parameters<-

Accessors for model parameters.
xgb.create.features

Create new features from a previously learned model
xgb.save.raw

Save xgboost model to R's raw vector, user can call xgb.load to load the model back from raw vector
xgb.ggplot.deepness

Plot model trees deepness
xgb.save

Save xgboost model to binary file
xgboost-deprecated

Deprecation notices.
xgb.plot.shap

SHAP contribution dependency plots
xgb.importance

Importance of features in a model.
xgb.plot.tree

Plot a boosted tree model
xgb.ggplot.importance

Plot feature importance as a bar graph
xgb.plot.multi.trees

Project all trees on one tree and plot it
cb.evaluation.log

Callback closure for logging the evaluation history
agaricus.train

Training part from Mushroom Data Set
cb.gblinear.history

Callback closure for collecting the model coefficients history of a gblinear booster during its training.
cb.early.stop

Callback closure to activate the early stopping.
cb.cv.predict

Callback closure for returning cross-validation based predictions.
callbacks

Callback closures for booster training.
cb.save.model

Callback closure for saving a model file.
cb.reset.parameters

Callback closure for resetting the booster's parameters at each iteration.
agaricus.test

Test part from Mushroom Data Set