Open behrica opened 1 year ago
I get a division-y-zero exception doing any of:
(mcm/macro-avg-fmeasure [:a] [:b] [:a :b]) (mcm/micro-avg-fmeasure [:a] [:b] [:a :b])
for reference, sklearn returns 0.0:
>>> import sklearn >>> sklearn.metrics.f1_score([0],[1], average='macro') 0.0 >>> sklearn.metrics.f1_score([0],[1], average='micro') 0.0
Thanks for this, I might get to looking at this sometime next week.
I get a division-y-zero exception doing any of:
for reference, sklearn returns 0.0: