Man pages for xgboost
Extreme Gradient Boosting

a-compatibility-note-for-saveRDS-saveModel Serialization and Compatibility
agaricus.testTest part from Mushroom Data Set
agaricus.trainTraining part from Mushroom Data Set
coef.xgb.BoosterExtract coefficients from linear booster
dimnames.xgb.DMatrixHandling of column names of 'xgb.DMatrix'
dim.xgb.DMatrixDimensions of xgb.DMatrix
getinfoGet or set information of xgb.DMatrix and xgb.Booster objects
predict.xgb.BoosterPredict method for XGBoost model
predict.xgboostCompute predictions from XGBoost model on new data
print.xgb.BoosterPrint xgb.Booster
print.xgb.cvPrint xgb.cv result
print.xgb.DMatrixPrint xgb.DMatrix
print.xgboostPrint info from XGBoost model
variable.names.xgb.BoosterGet Features Names from Booster
xgb.attrAccessors for serializable attributes of a model
xgb.CallbackXGBoost Callback Constructor
xgb.cb.cv.predictCallback for returning cross-validation based predictions
xgb.cb.early.stopCallback to activate early stopping
xgb.cb.evaluation.logCallback for logging the evaluation history
xgb.cb.gblinear.historyCallback for collecting coefficients history of a gblinear...
xgb.cb.print.evaluationCallback for printing the result of evaluation
xgb.cb.reset.parametersCallback for resetting booster parameters at each iteration
xgb.cb.save.modelCallback for saving a model file
xgb.configAccessors for model parameters as JSON string
xgbConfigSet and get global configuration
xgb.copy.BoosterDeep-copies a Booster Object
xgb.create.featuresCreate new features from a previously learned model
xgb.cvCross Validation
xgb.DataBatchStructure for Data Batches
xgb.DataIterXGBoost Data Iterator
xgb.DMatrixConstruct xgb.DMatrix object
xgb.DMatrix.hasinfoCheck whether DMatrix object has a field
xgb.DMatrix.saveSave xgb.DMatrix object to binary file
xgb.dumpDump an XGBoost model in text format.
xgb.ExtMemDMatrixDMatrix from External Data
xgb.gblinear.historyExtract gblinear coefficients history
xgb.get.DMatrix.dataGet DMatrix Data
xgb.get.DMatrix.num.non.missingGet Number of Non-Missing Entries in DMatrix
xgb.get.DMatrix.qcutGet Quantile Cuts from DMatrix
xgb.get.num.boosted.roundsGet number of boosting in a fitted booster
xgb.importanceFeature importance
xgb.is.same.BoosterCheck if two boosters share the same C object
xgb.loadLoad XGBoost model from binary file
xgb.load.rawLoad serialised XGBoost model from R's raw vector
xgb.model.dt.treeParse model text dump
xgb.model.parametersAccessors for model parameters
xgboostFit XGBoost Model
xgboost-optionsXGBoost Options
xgb.paramsXGBoost Parameters
xgb.plot.deepnessPlot model tree depth
xgb.plot.importancePlot feature importance
xgb.plot.multi.treesProject all trees on one tree
xgb.plot.shapSHAP dependence plots
xgb.plot.shap.summarySHAP summary plot
xgb.plot.treePlot boosted trees
xgb.QuantileDMatrix.from_iteratorQuantileDMatrix from External Data
xgb.saveSave XGBoost model to binary file
xgb.save.rawSave XGBoost model to R's raw vector
xgb.slice.BoosterSlice Booster by Rounds
xgb.slice.DMatrixSlice DMatrix
xgb.trainFit XGBoost Model
xgboost documentation built on Dec. 3, 2025, 5:06 p.m.