You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the function, you set the weights of the plus and minus samples to alpha
loss_1 = - gt * (alpha * backend.pow((1 - pr), gamma) * backend.log(pr))
loss_0 = - (1 - gt) * (alpha * backend.pow((pr), gamma) * backend.log(1 - pr))