lgb_shared_params {lightgbm}R Documentation

Shared parameter docs

Description

Parameter docs shared by lgb.train, lgb.cv, and lightgbm

Arguments

callbacks

list of callback functions List of callback functions that are applied at each iteration.

data

a lgb.Dataset object, used for training

early_stopping_rounds

int Activates early stopping. Requires at least one validation data and one metric If there's more than one, will check all of them except the training data Returns the model with (best_iter + early_stopping_rounds) If early stopping occurs, the model will have 'best_iter' field

eval_freq

evaluation output frequency, only effect when verbose > 0

init_model

path of model file of lgb.Booster object, will continue training from this model

nrounds

number of training rounds

params

List of parameters

verbose

verbosity for output, if <= 0, also will disable the print of evaluation during training


[Package lightgbm version 2.2.2 Index]