1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::model::aggregate_classification_metrics::AggregateClassificationMetrics;
use crate::model::binary_confusion_matrix::BinaryConfusionMatrix;
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct BinaryClassificationMetrics {
pub binary_confusion_matrix_list: Option<Vec<BinaryConfusionMatrix>>,
pub negative_label: Option<String>,
pub aggregate_classification_metrics: Option<AggregateClassificationMetrics>,
pub positive_label: Option<String>,
}