Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. cv_result = lgb.cv(
  2. params,
  3. train,
  4. num_boost_round=num_boost_rounds,
  5. fobj = focal_loss,
  6. feval = lgb_focal_f1_score,
  7. nfold=3,
  8. stratified=True,
  9. early_stopping_rounds=20)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement