xgboost3.2.0.1 package

Extreme Gradient Boosting

a-compatibility-note-for-saveRDS-save

Model Serialization and Compatibility

coef.xgb.Booster

Extract coefficients from linear booster

dim.xgb.DMatrix

Dimensions of xgb.DMatrix

dimnames.xgb.DMatrix

Handling of column names of xgb.DMatrix

getinfo

Get or set information of xgb.DMatrix and xgb.Booster objects

predict.xgb.Booster

Predict method for XGBoost model

predict.xgboost

Compute predictions from XGBoost model on new data

print.xgb.Booster

Print xgb.Booster

print.xgb.cv

Print xgb.cv result

print.xgb.DMatrix

Print xgb.DMatrix

print.xgboost

Print info from XGBoost model

variable.names.xgb.Booster

Get Features Names from Booster

xgb.attr

Accessors for serializable attributes of a model

xgb.Callback

XGBoost Callback Constructor

xgb.cb.cv.predict

Callback for returning cross-validation based predictions

xgb.cb.early.stop

Callback to activate early stopping

xgb.cb.evaluation.log

Callback for logging the evaluation history

xgb.cb.gblinear.history

Callback for collecting coefficients history of a gblinear booster

xgb.cb.print.evaluation

Callback for printing the result of evaluation

xgb.cb.reset.parameters

Callback for resetting booster parameters at each iteration

xgb.cb.save.model

Callback for saving a model file

xgb.config

Accessors for model parameters as JSON string

xgb.copy.Booster

Deep-copies a Booster Object

xgb.create.features

Create new features from a previously learned model

xgb.cv

Cross Validation

xgb.DataBatch

Structure for Data Batches

xgb.DataIter

XGBoost Data Iterator

xgb.DMatrix.hasinfo

Check whether DMatrix object has a field

xgb.DMatrix

Construct xgb.DMatrix object

xgb.DMatrix.save

Save xgb.DMatrix object to binary file

xgb.dump

Dump an XGBoost model in text format.

xgb.ExtMemDMatrix

DMatrix from External Data

xgb.gblinear.history

Extract gblinear coefficients history

xgb.get.DMatrix.data

Get DMatrix Data

xgb.get.DMatrix.num.non.missing

Get Number of Non-Missing Entries in DMatrix

xgb.get.DMatrix.qcut

Get Quantile Cuts from DMatrix

xgb.get.num.boosted.rounds

Get number of boosting in a fitted booster

xgb.importance

Feature importance

xgb.is.same.Booster

Check if two boosters share the same C object

xgb.load.raw

Load serialised XGBoost model from R's raw vector

xgb.load

Load XGBoost model from binary file

xgb.model.dt.tree

Parse model text dump

xgb.model.parameters

Accessors for model parameters

xgb.params

XGBoost Parameters

xgb.plot.deepness

Plot model tree depth

xgb.plot.importance

Plot feature importance

xgb.plot.multi.trees

Project all trees on one tree

xgb.plot.shap

SHAP dependence plots

xgb.plot.shap.summary

SHAP summary plot

xgb.plot.tree

Plot boosted trees

xgb.QuantileDMatrix.from_iterator

QuantileDMatrix from External Data

xgb.save.raw

Save XGBoost model to R's raw vector

xgb.save

Save XGBoost model to binary file

xgb.slice.Booster

Slice Booster by Rounds

xgb.slice.DMatrix

Slice DMatrix

xgb.train

Fit XGBoost Model

xgbConfig

Set and get global configuration

xgboost-options

XGBoost Options

xgboost

Fit XGBoost Model

Extreme Gradient Boosting, which is an efficient implementation of the gradient boosting framework from Chen & Guestrin (2016) <doi:10.1145/2939672.2939785>. 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.

  • Maintainer: Jiaming Yuan
  • License: Apache License (== 2.0) | file LICENSE
  • Last published: 2026-02-10 14:00:02 UTC