Class: Google::Apis::BigqueryV2::ArimaCoefficients

Inherits:
Object
  • Object
show all
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 coefficients.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ArimaCoefficients

Returns a new instance of ArimaCoefficients.



152
153
154
# File 'generated/google/apis/bigquery_v2/classes.rb', line 152

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#auto_regressive_coefficientsArray<Float>

Auto-regressive coefficients, an array of double. Corresponds to the JSON property autoRegressiveCoefficients

Returns:

  • (Array<Float>)


140
141
142
# File 'generated/google/apis/bigquery_v2/classes.rb', line 140

def auto_regressive_coefficients
  @auto_regressive_coefficients
end

#intercept_coefficientFloat

Intercept coefficient, just a double not an array. Corresponds to the JSON property interceptCoefficient

Returns:

  • (Float)


145
146
147
# File 'generated/google/apis/bigquery_v2/classes.rb', line 145

def intercept_coefficient
  @intercept_coefficient
end

#moving_average_coefficientsArray<Float>

Moving-average coefficients, an array of double. Corresponds to the JSON property movingAverageCoefficients

Returns:

  • (Array<Float>)


150
151
152
# File 'generated/google/apis/bigquery_v2/classes.rb', line 150

def moving_average_coefficients
  @moving_average_coefficients
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



157
158
159
160
161
# File 'generated/google/apis/bigquery_v2/classes.rb', line 157

def update!(**args)
  @auto_regressive_coefficients = args[:auto_regressive_coefficients] if args.key?(:auto_regressive_coefficients)
  @intercept_coefficient = args[:intercept_coefficient] if args.key?(:intercept_coefficient)
  @moving_average_coefficients = args[:moving_average_coefficients] if args.key?(:moving_average_coefficients)
end