gcp_bigquery_client/model/
global_explanation.rs

1//! Global explanations containing the top most important features after training.
2use crate::model::explanation::Explanation;
3
4#[derive(Debug, Default, Clone, Serialize, Deserialize)]
5#[serde(rename_all = "camelCase")]
6pub struct GlobalExplanation {
7    /// Class label for this set of global explanations. Will be empty/null for binary logistic and linear regression models. Sorted alphabetically in descending order.
8    pub class_label: Option<String>,
9    /// A list of the top global explanations. Sorted by absolute value of attribution in descending order.
10    pub explanations: Option<Vec<Explanation>>,
11}