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

Does it support BILO format? Also I noticed strange result with BILOU format #95

Open
pratikchhapolika opened this issue Aug 18, 2022 · 0 comments

Comments

@pratikchhapolika
Copy link

Does seqeval. support BILO format. ?

from seqeval.scheme import BILOU
y_true = [ ['B-PER', 'L-PER', 'O','B-MISC'],['B-PER', 'L-PER', 'O','B-MISC']]
y_pred = [ ['I-PER', 'L-PER', 'O','B-MISC'],['B-MISC', 'L-PER', 'O','B-MISC']]
print(classification_report(y_true, y_pred,mode='strict', scheme=BILOU))

     precision    recall  f1-score   support

         PER       0.00      0.00      0.00         2

   micro avg       0.00      0.00      0.00         2
   macro avg       0.00      0.00      0.00         2

I noticed strange result with BILOU format. Where is the B-MISC in classification task?

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

No branches or pull requests

1 participant