fit_xgboost_es: FitParamSpecs Class Constructor for xgboost Engine

Description Usage Arguments Value

View source: R/engine_xgboost.R

Description

FitParamSpecs Class Constructor for xgboost Engine

Usage

1
fit_xgboost_es(data, eval, task_type, ...)

Arguments

data

A training data of xgb.DMatrix class object.

eval

A evaluation data of xgb.DMatrix class object. Used for early stopping.

task_type

A character scalar of task_type.

...

Additional arguments passed to xgb.train.

Value

A FitParamSpecs class object.

Fit GBDT by xgboost package with early stopping

A fitted object.


five-dots/ml4e documentation built on June 19, 2020, 4:26 p.m.