Learn R Programming

Laurae (version 0.0.0.9001)

report.xgb.helper: Extreme Gradient Boosting HTML report helper function

Description

This function is used to train a model using xgboost in the automated HTML report creator. It must handle three arguments: train, valid, and params.

Usage

report.xgb.helper(train, valid, params, nrounds = 1e+06, model = NULL)

Arguments

train
Type: xgb.DMatrix. The labelled training data.
valid
Type: xgb.DMatrix. The labelled testing data.
params
Type: list. The parameters as a list.
nrounds
Type: numeric. The number of training iterations.
model
Type: xgb.Booster. The xgboost model to train from.

Value

A xgboost model.

Examples

Run this code
# No example.
## Not run: 


Run the code above in your browser using DataLab