Class: Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig

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

Overview

The median automated stopping rule stops a pending trial if the trial's best objective_value is strictly below the median 'performance' of all completed trials reported up to the trial's last measurement. Currently, 'performance' refers to the running average of the objective values reported by the trial in each measurement.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig

Returns a new instance of GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig.



111
112
113
# File 'generated/google/apis/ml_v1/classes.rb', line 111

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

Instance Attribute Details

#use_elapsed_timeBoolean Also known as: use_elapsed_time?

If true, the median automated stopping rule applies to measurement. use_elapsed_time, which means the elapsed_time field of the current trial's latest measurement is used to compute the median objective value for each completed trial. Corresponds to the JSON property useElapsedTime

Returns:

  • (Boolean)


108
109
110
# File 'generated/google/apis/ml_v1/classes.rb', line 108

def use_elapsed_time
  @use_elapsed_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



116
117
118
# File 'generated/google/apis/ml_v1/classes.rb', line 116

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