[torchmetrics] Difference between dice_score and f1_score #941
digital-idiot
started this conversation in
General
Replies: 1 comment
-
Hi @digital-idiot, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the
torchmetrics
what is the difference betweenf1_score
anddice_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_score
withbeta=1
.Also, it is possible to pass
beta
value other than1
tof1_score
which is a bit confusing and redundant.[1] https://chenriang.me/f1-equal-dice-coefficient.html
Beta Was this translation helpful? Give feedback.
All reactions