GanjinZero / ICD-MSMN

Code Synonyms Do Matter: Multiple Synonyms Matching Network for Automatic ICD Coding [ACL 2022]
https://arxiv.org/abs/2203.01515
47 stars 8 forks source link

macro_f1 implementation issue #13

Closed whaleloops closed 4 months ago

whaleloops commented 5 months ago

The macro_f1 implementation here is not consistent with the standard here in page 10 https://web.stanford.edu/class/cs224u/2021/slides/cs224u-2021-methods-part2-handout.pdf image

GanjinZero commented 4 months ago

copied from https://github.com/jamesmullenbach/caml-mimic/blob/master/evaluation.py