Class: Google::Apis::BigqueryV2::ArimaResult
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ArimaResult
- 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
(Auto-)arima fitting result. Wrap everything in ArimaResult for easier refactoring if we want to use model-specific iteration results.
Instance Attribute Summary collapse
-
#arima_model_info ⇒ Array<Google::Apis::BigqueryV2::ArimaModelInfo>
This message is repeated because there are multiple arima models fitted in auto-arima.
-
#seasonal_periods ⇒ Array<String>
Seasonal periods.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ArimaResult
constructor
A new instance of ArimaResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ArimaResult
Returns a new instance of ArimaResult.
382 383 384 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#arima_model_info ⇒ Array<Google::Apis::BigqueryV2::ArimaModelInfo>
This message is repeated because there are multiple arima models fitted in
auto-arima. For non-auto-arima model, its size is one.
Corresponds to the JSON property arimaModelInfo
374 375 376 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 374 def arima_model_info @arima_model_info end |
#seasonal_periods ⇒ Array<String>
Seasonal periods. Repeated because multiple periods are supported for one time
series.
Corresponds to the JSON property seasonalPeriods
380 381 382 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 380 def seasonal_periods @seasonal_periods end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
387 388 389 390 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 387 def update!(**args) @arima_model_info = args[:arima_model_info] if args.key?(:arima_model_info) @seasonal_periods = args[:seasonal_periods] if args.key?(:seasonal_periods) end |