Class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
- 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
An observed value of a metric.
Instance Attribute Summary collapse
-
#objective_value ⇒ Float
The objective value at this training step.
-
#training_step ⇒ Fixnum
The global training step for this metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
constructor
A new instance of GoogleCloudMlV1HyperparameterOutputHyperparameterMetric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
Returns a new instance of GoogleCloudMlV1HyperparameterOutputHyperparameterMetric
1278 1279 1280 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1278 def initialize(**args) update!(**args) end |
Instance Attribute Details
#objective_value ⇒ Float
The objective value at this training step.
Corresponds to the JSON property objectiveValue
1276 1277 1278 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1276 def objective_value @objective_value end |
#training_step ⇒ Fixnum
The global training step for this metric.
Corresponds to the JSON property trainingStep
1271 1272 1273 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1271 def training_step @training_step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1283 1284 1285 1286 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1283 def update!(**args) @training_step = args[:training_step] if args.key?(:training_step) @objective_value = args[:objective_value] if args.key?(:objective_value) end |