Learn R Programming

SuperLearner (version 2.0-29)

predict.SL.xgboost: XGBoost prediction on new data

Description

XGBoost prediction on new data

Usage

# S3 method for SL.xgboost
predict(object, newdata, family, ...)

Arguments

object

Model fit object from SuperLearner

newdata

Dataframe that will be converted to an xgb.DMatrix

family

Binomial or gaussian

...

Any remaining arguments (not supported though).