DashAI.back.metrics.Precision
- class Precision[source]
Precision 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 precision between true labels and predicted labels.
Attributes
COMPATIBLE_COMPONENTSTYPE