Class: Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/ml_v1/classes.rb,
generated/google/apis/ml_v1/representations.rb,
generated/google/apis/ml_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig

Returns a new instance of GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig.



84
85
86
# File 'generated/google/apis/ml_v1/classes.rb', line 84

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

Instance Attribute Details

#use_elapsed_timeBoolean Also known as: use_elapsed_time?

If true, measurement.elapsed_time is used as the x-axis of each Trials Decay Curve. Otherwise, Measurement.steps will be used as the x-axis. Corresponds to the JSON property useElapsedTime

Returns:

  • (Boolean)


81
82
83
# File 'generated/google/apis/ml_v1/classes.rb', line 81

def use_elapsed_time
  @use_elapsed_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



89
90
91
# File 'generated/google/apis/ml_v1/classes.rb', line 89

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