class Google::Apis::BigqueryV2::BqmlTrainingRun::TrainingOptions

Output-only, Beta

Training options used by this training run. These options

are mutable for subsequent training runs. Default values are explicitly stored for options not specified in the input query of the first training run. For subsequent training runs, any option not explicitly specified in the input query will be copied from the previous training run.

Attributes

early_stop[RW]

Corresponds to the JSON property `earlyStop` @return [Boolean]

early_stop?[RW]

Corresponds to the JSON property `earlyStop` @return [Boolean]

l1_reg[RW]

Corresponds to the JSON property `l1Reg` @return [Float]

l2_reg[RW]

Corresponds to the JSON property `l2Reg` @return [Float]

learn_rate[RW]

Corresponds to the JSON property `learnRate` @return [Float]

learn_rate_strategy[RW]

Corresponds to the JSON property `learnRateStrategy` @return [String]

line_search_init_learn_rate[RW]

Corresponds to the JSON property `lineSearchInitLearnRate` @return [Float]

max_iteration[RW]

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

min_rel_progress[RW]

Corresponds to the JSON property `minRelProgress` @return [Float]

warm_start[RW]

Corresponds to the JSON property `warmStart` @return [Boolean]

warm_start?[RW]

Corresponds to the JSON property `warmStart` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 1143
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 1148
def update!(**args)
  @early_stop = args[:early_stop] if args.key?(:early_stop)
  @l1_reg = args[:l1_reg] if args.key?(:l1_reg)
  @l2_reg = args[:l2_reg] if args.key?(:l2_reg)
  @learn_rate = args[:learn_rate] if args.key?(:learn_rate)
  @learn_rate_strategy = args[:learn_rate_strategy] if args.key?(:learn_rate_strategy)
  @line_search_init_learn_rate = args[:line_search_init_learn_rate] if args.key?(:line_search_init_learn_rate)
  @max_iteration = args[:max_iteration] if args.key?(:max_iteration)
  @min_rel_progress = args[:min_rel_progress] if args.key?(:min_rel_progress)
  @warm_start = args[:warm_start] if args.key?(:warm_start)
end