Class: Google::Apis::BigqueryV2::ArimaForecastingMetrics
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ArimaForecastingMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
Model evaluation metrics for ARIMA forecasting models.
Instance Attribute Summary collapse
-
#arima_fitting_metrics ⇒ Array<Google::Apis::BigqueryV2::ArimaFittingMetrics>
Arima model fitting metrics.
-
#arima_single_model_forecasting_metrics ⇒ Array<Google::Apis::BigqueryV2::ArimaSingleModelForecastingMetrics>
Repeated as there can be many metric sets (one for each model) in auto-arima and the large-scale case.
-
#has_drift ⇒ Array<Boolean>
Whether Arima model fitted with drift or not.
-
#non_seasonal_order ⇒ Array<Google::Apis::BigqueryV2::ArimaOrder>
Non-seasonal order.
-
#seasonal_periods ⇒ Array<String>
Seasonal periods.
-
#time_series_id ⇒ Array<String>
Id to differentiate different time series for the large-scale case.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ArimaForecastingMetrics
constructor
A new instance of ArimaForecastingMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ArimaForecastingMetrics
Returns a new instance of ArimaForecastingMetrics.
234 235 236 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 234 def initialize(**args) update!(**args) end |
Instance Attribute Details
#arima_fitting_metrics ⇒ Array<Google::Apis::BigqueryV2::ArimaFittingMetrics>
Arima model fitting metrics.
Corresponds to the JSON property arimaFittingMetrics
204 205 206 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 204 def arima_fitting_metrics @arima_fitting_metrics end |
#arima_single_model_forecasting_metrics ⇒ Array<Google::Apis::BigqueryV2::ArimaSingleModelForecastingMetrics>
Repeated as there can be many metric sets (one for each model) in auto-arima
and the large-scale case.
Corresponds to the JSON property arimaSingleModelForecastingMetrics
210 211 212 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 210 def arima_single_model_forecasting_metrics @arima_single_model_forecasting_metrics end |
#has_drift ⇒ Array<Boolean>
Whether Arima model fitted with drift or not. It is always false when d is not
1.
Corresponds to the JSON property hasDrift
216 217 218 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 216 def has_drift @has_drift end |
#non_seasonal_order ⇒ Array<Google::Apis::BigqueryV2::ArimaOrder>
Non-seasonal order.
Corresponds to the JSON property nonSeasonalOrder
221 222 223 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 221 def non_seasonal_order @non_seasonal_order end |
#seasonal_periods ⇒ Array<String>
Seasonal periods. Repeated because multiple periods are supported for one time
series.
Corresponds to the JSON property seasonalPeriods
227 228 229 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 227 def seasonal_periods @seasonal_periods end |
#time_series_id ⇒ Array<String>
Id to differentiate different time series for the large-scale case.
Corresponds to the JSON property timeSeriesId
232 233 234 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 232 def time_series_id @time_series_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
239 240 241 242 243 244 245 246 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 239 def update!(**args) @arima_fitting_metrics = args[:arima_fitting_metrics] if args.key?(:arima_fitting_metrics) @arima_single_model_forecasting_metrics = args[:arima_single_model_forecasting_metrics] if args.key?(:arima_single_model_forecasting_metrics) @has_drift = args[:has_drift] if args.key?(:has_drift) @non_seasonal_order = args[:non_seasonal_order] if args.key?(:non_seasonal_order) @seasonal_periods = args[:seasonal_periods] if args.key?(:seasonal_periods) @time_series_id = args[:time_series_id] if args.key?(:time_series_id) end |