Class: Google::Apis::BigqueryV2::ArimaFittingMetrics

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 model fitting metrics.

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

Returns a new instance of ArimaFittingMetrics.


183
184
185
# File 'generated/google/apis/bigquery_v2/classes.rb', line 183

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

Instance Attribute Details

#aicFloat

AIC. Corresponds to the JSON property aic

Returns:

  • (Float)

171
172
173
# File 'generated/google/apis/bigquery_v2/classes.rb', line 171

def aic
  @aic
end

#log_likelihoodFloat

Log-likelihood. Corresponds to the JSON property logLikelihood

Returns:

  • (Float)

176
177
178
# File 'generated/google/apis/bigquery_v2/classes.rb', line 176

def log_likelihood
  @log_likelihood
end

#varianceFloat

Variance. Corresponds to the JSON property variance

Returns:

  • (Float)

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

def variance
  @variance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


188
189
190
191
192
# File 'generated/google/apis/bigquery_v2/classes.rb', line 188

def update!(**args)
  @aic = args[:aic] if args.key?(:aic)
  @log_likelihood = args[:log_likelihood] if args.key?(:log_likelihood)
  @variance = args[:variance] if args.key?(:variance)
end