-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source on BalancedBCEWithLogitsLoss #65
Comments
Hi! Indeed, there are. See https://arxiv.org/pdf/1504.06375.pdf formula 2. |
Thank you very much! |
I have two more questions about this loss function: what does the parameter |
The gamma is a my addition to this loss, when gamma=1, it's equal to vanilla BBCE as in Formula 2. Values >1 decay the balancing weights. E.g if gamma = 2, and positives fraction is 0.25 and negatives is 0.75, corresponding weights will be 0.25^2 and 0.75^ accordingly. |
Got it, that makes sense. Thank you again. |
I was wondering if there is a paper or even just a description on the
BalancedBCEWithLogitsLoss
?The text was updated successfully, but these errors were encountered: