Class: Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfig
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ml_v1/classes.rb,
lib/google/apis/ml_v1/representations.rb,
lib/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.
586 587 588 |
# File 'lib/google/apis/ml_v1/classes.rb', line 586 def initialize(**args) update!(**args) end |
Instance Attribute Details
#decay_curve_stopping_config ⇒ Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
Corresponds to the JSON property decayCurveStoppingConfig
575 576 577 |
# File 'lib/google/apis/ml_v1/classes.rb', line 575 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
584 585 586 |
# File 'lib/google/apis/ml_v1/classes.rb', line 584 def median_automated_stopping_config @median_automated_stopping_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
591 592 593 594 |
# File 'lib/google/apis/ml_v1/classes.rb', line 591 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 |