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
I see that for reporting macro averaged F1 scores, you first calculate macro averaged precision, then calculate macro averaged recall, and then use f1_measure = 2.0 * ((precision * recall) / (precision + recall + 1e-13)) to calculate macro averaged F1 score (here).
In standard implementations of macro F-score (like in scikit-learn), macro averaged F1 score is calculated by first calculating F1 score for each class and then taking the average of these F1 scores.
You might want to mention this somewhere in your documentation, as it can cause some confusion.
Let me know what you think.
Thanks,
Ashim
The text was updated successfully, but these errors were encountered:
Hi @ChristophAlt ,
Thank you for the wonderful codebase.
I see that for reporting macro averaged F1 scores, you first calculate macro averaged precision, then calculate macro averaged recall, and then use
f1_measure = 2.0 * ((precision * recall) / (precision + recall + 1e-13))
to calculate macro averaged F1 score (here).In standard implementations of macro F-score (like in scikit-learn), macro averaged F1 score is calculated by first calculating F1 score for each class and then taking the average of these F1 scores.
You might want to mention this somewhere in your documentation, as it can cause some confusion.
Let me know what you think.
Thanks,
Ashim
The text was updated successfully, but these errors were encountered: