xg_auto_ml: Auto Machine Learning

Description Usage Arguments Value Examples

View source: R/xgez.R

Description

xg_auto_ml compiles all the functions for calibrating a xgboost model into a single one.

Usage

1
xg_auto_ml(data, param)

Arguments

data

Character. The link to the file containing the data. The data are imported with the fread function from the data.table package (fread), so the format must be consistent with a csv file.

param

Character. A link to a YAML file with all the the parameters for calibrating the model. See system.file("extdata", "ex_param.yml", package = "ezXg") for an example.

Value

A calibrated model directly usable for prediction, consistent with a model produced by xg_train.

Examples

1
2
md <- xg_auto_ml(system.file("extdata", "titanic.csv", package = "ezXg"),
                 system.file("extdata", "ex_param.yml", package = "ezXg"))

ArnaudBu/ezXg documentation built on Oct. 30, 2019, 4:59 a.m.