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).


SuperLearner documentation built on May 29, 2024, 5:25 a.m.