Class: Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfig
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfig
- 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
Configuration for Automated Early Stopping of Trials. If no implementation_config is set, automated early stopping will not be run.
Instance Attribute Summary collapse
-
#decay_curve_stopping_config ⇒ Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
Corresponds to the JSON property
decayCurveStoppingConfig
. -
#median_automated_stopping_config ⇒ Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig
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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1AutomatedStoppingConfig
constructor
A new instance of GoogleCloudMlV1AutomatedStoppingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1AutomatedStoppingConfig
Returns a new instance of GoogleCloudMlV1AutomatedStoppingConfig.
588 589 590 |
# File 'generated/google/apis/ml_v1/classes.rb', line 588 def initialize(**args) update!(**args) end |
Instance Attribute Details
#decay_curve_stopping_config ⇒ Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
Corresponds to the JSON property decayCurveStoppingConfig
577 578 579 |
# File 'generated/google/apis/ml_v1/classes.rb', line 577 def decay_curve_stopping_config @decay_curve_stopping_config end |
#median_automated_stopping_config ⇒ Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig
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.
Corresponds to the JSON property medianAutomatedStoppingConfig
586 587 588 |
# File 'generated/google/apis/ml_v1/classes.rb', line 586 def median_automated_stopping_config @median_automated_stopping_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
593 594 595 596 |
# File 'generated/google/apis/ml_v1/classes.rb', line 593 def update!(**args) @decay_curve_stopping_config = args[:decay_curve_stopping_config] if args.key?(:decay_curve_stopping_config) @median_automated_stopping_config = args[:median_automated_stopping_config] if args.key?(:median_automated_stopping_config) end |