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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1AutomatedStoppingConfig
Returns a new instance of GoogleCloudMlV1AutomatedStoppingConfig.
610 611 612 |
# File 'generated/google/apis/ml_v1/classes.rb', line 610 def initialize(**args) update!(**args) end |
Instance Attribute Details
#decay_curve_stopping_config ⇒ Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
Corresponds to the JSON property decayCurveStoppingConfig
599 600 601 |
# File 'generated/google/apis/ml_v1/classes.rb', line 599 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
608 609 610 |
# File 'generated/google/apis/ml_v1/classes.rb', line 608 def median_automated_stopping_config @median_automated_stopping_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
615 616 617 618 |
# File 'generated/google/apis/ml_v1/classes.rb', line 615 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 |