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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ArimaCoefficients

Returns a new instance of ArimaCoefficients.



161
162
163
# File 'generated/google/apis/bigquery_v2/classes.rb', line 161

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


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

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)


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

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


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

def moving_average_coefficients
  @moving_average_coefficients
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



166
167
168
169
170
# File 'generated/google/apis/bigquery_v2/classes.rb', line 166

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