class Google::Apis::MlV1::GoogleCloudMlV1StudyConfig
Represents configuration of a study.
Attributes
algorithm[RW]
The search algorithm specified for the study. Corresponds to the JSON property `algorithm` @return [String]
automated_stopping_config[RW]
Configuration for Automated Early Stopping of Trials. If no implementation_config is set, automated early stopping will not be run. Corresponds to the JSON property `automatedStoppingConfig` @return [Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfig]
metrics[RW]
Metric specs for the study. Corresponds to the JSON property `metrics` @return [Array<Google::Apis::MlV1::GoogleCloudMlV1StudyConfigMetricSpec>]
parameters[RW]
Required. The set of parameters to tune. Corresponds to the JSON property `parameters` @return [Array<Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpec>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/ml_v1/classes.rb, line 2497 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/ml_v1/classes.rb, line 2502 def update!(**args) @algorithm = args[:algorithm] if args.key?(:algorithm) @automated_stopping_config = args[:automated_stopping_config] if args.key?(:automated_stopping_config) @metrics = args[:metrics] if args.key?(:metrics) @parameters = args[:parameters] if args.key?(:parameters) end