Does it support BILO format? Also I noticed strange result with BILOU format
pratikchhapolika opened this issue · 0 comments
pratikchhapolika commented
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?