SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. focal_loss = lambda x,y: focal_loss_lgb(x, y, alpha=0.25, gamma=1.)
  2. focal_loss_eval = lambda x,y: focal_loss_lgb_eval_error(x, y, alpha=0.25, gamma=1.)
  3. model = lgb.train(best, self.lgtrain, fobj=focal_loss, feval=focal_loss_eval)
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
 
Top