[torchmetrics] Difference between dice_score and f1_score #941
digital-idiot
started this conversation in
General
Replies: 1 comment
|
Hi @digital-idiot, |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In the
torchmetricswhat is the difference betweenf1_scoreanddice_score? Aren't they theoretically the same metric [1]? Looking at source of dice_score it appears to be using the formula directly whereas f1_score callsfbeta_scorewithbeta=1.Also, it is possible to pass
betavalue other than1tof1_scorewhich is a bit confusing and redundant.[1] https://chenriang.me/f1-equal-dice-coefficient.html
All reactions