Class: Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig
- 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
-
#use_elapsed_time ⇒ Boolean
(also: #use_elapsed_time?)
True if median automated stopping rule applies on measurement.use_elapsed_time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig
constructor
A new instance of GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig
Returns a new instance of GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig.
125 126 127 |
# File 'generated/google/apis/ml_v1/classes.rb', line 125 def initialize(**args) update!(**args) end |
Instance Attribute Details
#use_elapsed_time ⇒ Boolean Also known as: use_elapsed_time?
True if median automated stopping rule applies on
measurement.use_elapsed_time. it means that elapsed_time field of
latest measurement of current trial is used to compute median objective
value for each completed trials.
Corresponds to the JSON property useElapsedTime
122 123 124 |
# File 'generated/google/apis/ml_v1/classes.rb', line 122 def use_elapsed_time @use_elapsed_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
130 131 132 |
# File 'generated/google/apis/ml_v1/classes.rb', line 130 def update!(**args) @use_elapsed_time = args[:use_elapsed_time] if args.key?(:use_elapsed_time) end |