-
-
Notifications
You must be signed in to change notification settings - Fork 134
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Since the last commit, the simple 'I', 'O', 'B' tags are no longer supported.
from seqeval.metrics import f1_score
y_true = [['O', 'O', 'O', 'B', 'I', 'I', 'O'], ['B', 'I', 'O']]
y_pred = [['O', 'O', 'B', 'I', 'I', 'I', 'O'], ['B', 'I', 'O']]
f1_score(y_true, y_pred)
Throws error:
ValueError: Invalid tag is found: B
Is this behaviour intended?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working