Skip to content

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

Description

@pratikchhapolika

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions