DashAI.back.metrics.Accuracy
- class Accuracy[source]
Accuracy metric 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 the accuracy between true labels and predicted labels.
Attributes
COMPATIBLE_COMPONENTS
TYPE