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.



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

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


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

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)


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

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


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

def moving_average_coefficients
  @moving_average_coefficients
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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