DashAI.back.metrics.F1
- class F1[source]
F1 score to classification tasks.
- __init__()
Methods
__init__()is_multiclass(true_labels)Determine if the classification problem is multiclass (more than 2 classes).
score(true_labels, probs_pred_labels[, ...])Calculate f1 score between true labels and predicted labels.
Attributes
COMPATIBLE_COMPONENTSTYPE