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
{{ message }}
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
metric should have TP FP TN FN Precision Recall F1 for both macro and micro versions #9588
Related to #9587. The current logic only supports what's called "macro F1" logic where we take the mean of F1 scores for mini-batches. "micro F1" should also be supported by keeping the tp, fp, fn counts across batches.
Note that these metrics share the counter logics so we should be mindful when doing oo design.
Activity
szha commentedon Jan 27, 2018
We may refer to the "average" option in sklearn.metrics.f1_score.
ThomasDelteil commentedon Jul 30, 2018
@szha looks like #9777 address this ? If so please consider closing.
szha commentedon Jul 31, 2018
Indeed