ArdalanM/pyLightGBM

best_iteration for multi-class classification

Closed this issue · 1 comments

It seems there is an issue for getting best round for multi-class model.
From [LightGBM] [Info] the best iteration is 450 but clf.best_round is 9429.

Thanks!

I think I got the answer. For multi-class model, the best iteration is clf.best_round/number of class.