ehr-rwe icon indicating copy to clipboard operation
ehr-rwe copied to clipboard

Family and Polarity Tagger question

Open jeffmax opened this issue 4 years ago • 0 comments

Should https://github.com/som-shahlab/ehr-rwe/blob/master/rwe/labelers/taggers/family.py#L128 be set to

self.class_map[y]

instead of the index number y?

Similarly, for the polarity tagger here:

https://github.com/som-shahlab/ehr-rwe/blob/master/rwe/labelers/taggers/polarity.py#L532

Thanks for the great library.

jeffmax avatar Jan 28 '21 22:01 jeffmax