Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing labels on NER eval_model with classification_report set to True #585

Closed
yoeldk opened this issue Jul 22, 2020 · 4 comments
Closed
Labels
bug Something isn't working stale This issue has become stale

Comments

@yoeldk
Copy link

yoeldk commented Jul 22, 2020

Describe the bug
It seems like the labels shown in the report are taken from the (true) labels in the data to be evaluated on instead of the list of all labels the model was configured with.
If the evaluation is done on a (smaller) dataset that does not contain all possible labels the model was originally trained on (let's call the set of missing labels {Y}), then false positives of labels that belong to {Y} do not appear in the statistics.

To Reproduce
Evaluate NER model with classification_report on a data set that has predicted labels which do not appear in the input data as true positives.

Expected behavior
The expected behavior would be to produce a classification_report for each label in the original list of labels the model was configured with instead of the true labels in the data to be evaluated on.

@ThilinaRajapakse ThilinaRajapakse added the bug Something isn't working label Jul 23, 2020
@stale
Copy link

stale bot commented Sep 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added stale This issue has become stale and removed stale This issue has become stale labels Sep 22, 2020
@yoeldk
Copy link
Author

yoeldk commented Sep 23, 2020

I opened this bug several weeks ago which was tagged as "question", not sure why. Is there a plan to use an alternative to seqeval?
chakki-works/seqeval#39

@ThilinaRajapakse
Copy link
Owner

Do you know of any good alternatives we could try? I'm happy to consider other options.

@stale
Copy link

stale bot commented Nov 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale This issue has become stale label Nov 26, 2020
@stale stale bot closed this as completed Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale This issue has become stale
Projects
None yet
Development

No branches or pull requests

2 participants