Parameter docs shared by lgb.train
, lgb.cv
, and lightgbm
callbacks | list of callback functions List of callback functions that are applied at each iteration. |
---|---|
data | a |
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 |
nrounds | number of training rounds |
params | List of parameters |
verbose | verbosity for output, if <= 0, also will disable the print of evaluation during training |