Trait linfa::metrics::ToConfusionMatrix
source · pub trait ToConfusionMatrix<A, T> {
fn confusion_matrix(&self, ground_truth: T) -> Result<ConfusionMatrix<A>>;
}
Expand description
Classification for multi-label evaluation
Contains a routine to calculate the confusion matrix, all other scores are derived form it.