gcp_bigquery_client/model/confusion_matrix.rs
1//! Confusion matrix for multi-class classification models.
2use crate::model::row::Row;
3
4#[derive(Debug, Default, Clone, Serialize, Deserialize)]
5#[serde(rename_all = "camelCase")]
6pub struct ConfusionMatrix {
7 /// One row per actual label.
8 pub rows: Option<Vec<Row>>,
9 /// Confidence threshold used when computing the entries of the confusion matrix.
10 pub confidence_threshold: Option<f64>,
11}