Class: Google::Apis::BigqueryV2::ArimaModelInfo
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ArimaModelInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/google/apis/bigquery_v2/representations.rb
Overview
Arima model information.
Instance Attribute Summary collapse
-
#arima_coefficients ⇒ Google::Apis::BigqueryV2::ArimaCoefficients
Arima coefficients.
-
#arima_fitting_metrics ⇒ Google::Apis::BigqueryV2::ArimaFittingMetrics
ARIMA model fitting metrics.
-
#has_drift ⇒ Boolean
(also: #has_drift?)
Whether Arima model fitted with drift or not.
-
#non_seasonal_order ⇒ Google::Apis::BigqueryV2::ArimaOrder
Arima order, can be used for both non-seasonal and seasonal parts.
-
#seasonal_periods ⇒ Array<String>
Seasonal periods.
-
#time_series_id ⇒ String
The id to indicate different time series.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ArimaModelInfo
constructor
A new instance of ArimaModelInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ArimaModelInfo
Returns a new instance of ArimaModelInfo.
284 285 286 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 284 def initialize(**args) update!(**args) end |
Instance Attribute Details
#arima_coefficients ⇒ Google::Apis::BigqueryV2::ArimaCoefficients
Arima coefficients.
Corresponds to the JSON property arimaCoefficients
254 255 256 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 254 def arima_coefficients @arima_coefficients end |
#arima_fitting_metrics ⇒ Google::Apis::BigqueryV2::ArimaFittingMetrics
ARIMA model fitting metrics.
Corresponds to the JSON property arimaFittingMetrics
259 260 261 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 259 def arima_fitting_metrics @arima_fitting_metrics end |
#has_drift ⇒ Boolean Also known as: has_drift?
Whether Arima model fitted with drift or not. It is always false when d is not
1.
Corresponds to the JSON property hasDrift
265 266 267 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 265 def has_drift @has_drift end |
#non_seasonal_order ⇒ Google::Apis::BigqueryV2::ArimaOrder
Arima order, can be used for both non-seasonal and seasonal parts.
Corresponds to the JSON property nonSeasonalOrder
271 272 273 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 271 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
277 278 279 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 277 def seasonal_periods @seasonal_periods end |
#time_series_id ⇒ String
The id to indicate different time series.
Corresponds to the JSON property timeSeriesId
282 283 284 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 282 def time_series_id @time_series_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
289 290 291 292 293 294 295 296 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 289 def update!(**args) @arima_coefficients = args[:arima_coefficients] if args.key?(:arima_coefficients) @arima_fitting_metrics = args[:arima_fitting_metrics] if args.key?(:arima_fitting_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 |