1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
use crate::model::arima_fitting_metrics::ArimaFittingMetrics;
use crate::model::arima_order::ArimaOrder;
use crate::model::arima_single_model_forecasting_metrics::ArimaSingleModelForecastingMetrics;
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ArimaForecastingMetrics {
pub time_series_id: Option<Vec<String>>,
pub seasonal_periods: Option<Vec<SeasonalPeriods>>,
pub has_drift: Option<Vec<bool>>,
pub non_seasonal_order: Option<Vec<ArimaOrder>>,
pub arima_single_model_forecasting_metrics: Option<Vec<ArimaSingleModelForecastingMetrics>>,
pub arima_fitting_metrics: Option<Vec<ArimaFittingMetrics>>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum SeasonalPeriods {
SeasonalPeriodTypeUnspecified,
NoSeasonality,
Daily,
Weekly,
Monthly,
Quarterly,
Yearly,
}