f_predict: Predicting from xgboost models

Description Usage Arguments Value

View source: R/f_train.R

Description

Predicting from xgboost models

Usage

1
f_predict(model, data)

Arguments

model

xgboost object obtained from f_train

data

data to calculate predictions on. Should be a data.table object

Value

a numeric vector with predictions from the model


kristian-bak/kb.modelling documentation built on Dec. 21, 2021, 7:46 a.m.