Class: Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
- 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
Instance Attribute Summary collapse
-
#use_elapsed_time ⇒ Boolean
(also: #use_elapsed_time?)
If true, measurement.elapsed_time is used as the x-axis of each Trials Decay Curve.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
constructor
A new instance of GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
Returns a new instance of GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig.
84 85 86 |
# File 'generated/google/apis/ml_v1/classes.rb', line 84 def initialize(**args) update!(**args) end |
Instance Attribute Details
#use_elapsed_time ⇒ Boolean Also known as: use_elapsed_time?
If true, measurement.elapsed_time is used as the x-axis of each Trials Decay
Curve. Otherwise, Measurement.steps will be used as the x-axis.
Corresponds to the JSON property useElapsedTime
81 82 83 |
# File 'generated/google/apis/ml_v1/classes.rb', line 81 def use_elapsed_time @use_elapsed_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
89 90 91 |
# File 'generated/google/apis/ml_v1/classes.rb', line 89 def update!(**args) @use_elapsed_time = args[:use_elapsed_time] if args.key?(:use_elapsed_time) end |