evaluate icon indicating copy to clipboard operation
evaluate copied to clipboard

[metric] macro and weighted average metrics for seqeval

Open imvladikon opened this issue 1 year ago • 0 comments

Hi everyone!

I've noticed that seqeval module doesn't return weighted and macro metrics, but sometimes it's good to get them back. On the another hand, seqeval library calculates them. So, the thing is only in pop (remove) metrics out in the evaluate library.

Default previous behavior: removing "macro" and "weighted" metrics

report.pop("macro avg")
report.pop("weighted avg")

Current behavior: Add them as supplement metrics into final metrics dictionary

imvladikon avatar Jan 24 '24 15:01 imvladikon