langtest.utils.util_metrics#
Functions
|
Calculate the F1 score for the provided true and predicted labels. |
|
Calculate the F1 score for multi-label classification using binarized labels. |
|
Generate a classification report including precision, recall, f1-score, and support. |
|
Generate a classification report for multi-label classification. |
|
Combine labels by removing the BIO tags and keeping only the entity type. |
|
A simple implementation of a multilabel binarizer for y_true and y_pred. |