webstruct.base.
BaseSequenceClassifier
Bases: BaseEstimator, TransformerMixin
BaseEstimator
TransformerMixin
score
Macro-averaged F1 score of lists of BIO-encoded sequences y_true and y_pred.
y_true
y_pred
A named entity in a sequence from y_pred is considered correct only if it is an exact match of the corresponding entity in the y_true.