2

I am able to train a lgmb model using lgb.train and I can do the same with the CV model.

However, I can atleast use the train model for predictions, I am not sure how to understand what the lgb.cv returns.

Rashan Arshad
  • 247
  • 3
  • 11

1 Answers1

1

Check the official documentation here

Specifically, the returned value is the following:

Returns:

eval_hist – Evaluation history. The dictionary has the following format: {‘metric1-mean’: [values], ‘metric1-stdv’: [values], ‘metric2-mean’: [values], ‘metric2-stdv’: [values], …}.

Return type:

dict

A very similar topic is discussed here: Cross-validation in LightGBM

Community
  • 1
  • 1
Jan K
  • 4,040
  • 1
  • 15
  • 16