Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cv_result = lgb.cv(
- params,
- train,
- num_boost_round=num_boost_rounds,
- fobj = focal_loss,
- feval = lgb_focal_f1_score,
- nfold=3,
- stratified=True,
- early_stopping_rounds=20)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement