Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement