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.



154
155
156
# File 'lib/google/apis/bigquery_v2/classes.rb', line 154

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


142
143
144
# File 'lib/google/apis/bigquery_v2/classes.rb', line 142

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)


147
148
149
# File 'lib/google/apis/bigquery_v2/classes.rb', line 147

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


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

def moving_average_coefficients
  @moving_average_coefficients
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



159
160
161
162
163
# File 'lib/google/apis/bigquery_v2/classes.rb', line 159

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