confusion_matrix
Confusion Matrix Metric API
Classes:
-
ConfusionMatrix–Accumulates a confusion matrix and returns row-normalized values.
Classes
ConfusionMatrix
Source code in helia_edge/metrics/confusion_matrix.py
Functions
update_state
y_pred: shape (batch, ..., num_classes) or integer class labels y_true: shape (batch, ...) with integer class labels
Source code in helia_edge/metrics/confusion_matrix.py
result
Returns the row-normalized confusion matrix as float64.