Skip to content

fix(medcat) - use ner_ents for NER only statistics - #628

Merged
mart-r merged 8 commits into
mainfrom
ner_ents_fix
Oct 9, 2026
Merged

mart-r merged 8 commits into
mainfrom
ner_ents_fix

Conversation

@adam-sutton-1992

Copy link
Copy Markdown
Contributor

As the title says:

Previously the NER only performance was based off entities that have been linked. So if the threshold is too low for linking then the NER pipeline isn't being judged fairly.

This change fixes that.

I also spotted an issue within testing where I accidentally added another entity twice (once in a loop and again when the loop finished) so I fixed that and corrected the errors of the assertion.

@mart-r
mart-r merged commit d75d198 into main Oct 9, 2026
20 checks passed
@mart-r
mart-r deleted the ner_ents_fix branch October 9, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants