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

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

Arima coefficients.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ArimaCoefficients

Returns a new instance of ArimaCoefficients.



194
195
196
# File 'lib/google/apis/bigquery_v2/classes.rb', line 194

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>)


182
183
184
# File 'lib/google/apis/bigquery_v2/classes.rb', line 182

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)


187
188
189
# File 'lib/google/apis/bigquery_v2/classes.rb', line 187

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>)


192
193
194
# File 'lib/google/apis/bigquery_v2/classes.rb', line 192

def moving_average_coefficients
  @moving_average_coefficients
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



199
200
201
202
203
# File 'lib/google/apis/bigquery_v2/classes.rb', line 199

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