SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top