class Google::Apis::BigqueryV2::IterationResult

Information about a single iteration of the training run.

Attributes

arima_result[RW]

(Auto-)arima fitting result. Wrap everything in ArimaResult for easier refactoring if we want to use model-specific iteration results. Corresponds to the JSON property `arimaResult` @return [Google::Apis::BigqueryV2::ArimaResult]

cluster_infos[RW]

Information about top clusters for clustering models. Corresponds to the JSON property `clusterInfos` @return [Array<Google::Apis::BigqueryV2::ClusterInfo>]

duration_ms[RW]

Time taken to run the iteration in milliseconds. Corresponds to the JSON property `durationMs` @return [Fixnum]

eval_loss[RW]

Loss computed on the eval data at the end of iteration. Corresponds to the JSON property `evalLoss` @return [Float]

index[RW]

Index of the iteration, 0 based. Corresponds to the JSON property `index` @return [Fixnum]

learn_rate[RW]

Learn rate used for this iteration. Corresponds to the JSON property `learnRate` @return [Float]

training_loss[RW]

Loss computed on the training data at the end of iteration. Corresponds to the JSON property `trainingLoss` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 2861
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigquery_v2/classes.rb, line 2866
def update!(**args)
  @arima_result = args[:arima_result] if args.key?(:arima_result)
  @cluster_infos = args[:cluster_infos] if args.key?(:cluster_infos)
  @duration_ms = args[:duration_ms] if args.key?(:duration_ms)
  @eval_loss = args[:eval_loss] if args.key?(:eval_loss)
  @index = args[:index] if args.key?(:index)
  @learn_rate = args[:learn_rate] if args.key?(:learn_rate)
  @training_loss = args[:training_loss] if args.key?(:training_loss)
end