predict.SL.xgboost: XGBoost prediction on new data

View source: R/SL.xgboost.R

predict.SL.xgboostR Documentation

XGBoost prediction on new data

Description

XGBoost prediction on new data

Usage

## S3 method for class '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).


ecpolley/SuperLearner documentation built on Feb. 21, 2024, 11:38 p.m.