class Google::Apis::BigqueryV2::BqmlIterationResult

Attributes

duration_ms[RW]
Output-only, Beta

Time taken to run the training iteration in milliseconds.

Corresponds to the JSON property `durationMs` @return [Fixnum]

eval_loss[RW]
Output-only, Beta

Eval loss computed on the eval data at the end of the

iteration. The eval loss is used for early stopping to avoid overfitting. No eval loss if eval_split_method option is specified as no_split or auto_split with input data size less than 500 rows. Corresponds to the JSON property `evalLoss` @return [Float]

index[RW]
Output-only, Beta

Index of the ML training iteration, starting from zero for

each training run. Corresponds to the JSON property `index` @return [Fixnum]

learn_rate[RW]
Output-only, Beta

Learning rate used for this iteration, it varies for

different training iterations if learn_rate_strategy option is not constant. Corresponds to the JSON property `learnRate` @return [Float]

training_loss[RW]
Output-only, Beta

Training loss computed on the training data at the end of

the iteration. The training loss function is defined by model type. 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 1031
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 1036
def update!(**args)
  @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