gcp_bigquery_client/model/
iteration_result.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! Information about a single iteration of the training run.
use crate::model::arima_result::ArimaResult;
use crate::model::cluster_info::ClusterInfo;
use crate::model::principal_component_info::PrincipalComponentInfo;

#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct IterationResult {
    /// Information about top clusters for clustering models.
    pub cluster_infos: Option<Vec<ClusterInfo>>,
    pub arima_result: Option<ArimaResult>,
    /// Index of the iteration, 0 based.
    pub index: Option<i32>,
    /// The information of the principal components.
    pub principal_component_infos: Option<Vec<PrincipalComponentInfo>>,
    /// Learn rate used for this iteration.
    pub learn_rate: Option<f64>,
    /// Time taken to run the iteration in milliseconds.
    pub duration_ms: Option<i64>,
    /// Loss computed on the training data at the end of iteration.
    pub training_loss: Option<f64>,
    /// Loss computed on the eval data at the end of iteration.
    pub eval_loss: Option<f64>,
}