You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error!("Can't compute metrics when the ground truth labels are a different size than the predicted labels. {} != {}", ground_truth.len(), y_hat.len());
61
+
}
62
+
63
63
if num_classes != classes.len(){
64
-
error!("Can't compute metrics when the number of classes in the test set is different than the number of classes in the training set. {} != {}", num_classes, classes.len())
65
-
};
64
+
error!("Can't compute metrics when the number of classes in the test set is different than the number of classes in the training set. {} != {}", num_classes, classes.len());
65
+
}
66
66
67
67
// Class value = index in the confusion matrix
68
68
// e.g. class value 5 will be index 4 if there are classes 1, 2, 3 and 4 present.
0 commit comments