Class: Google::Apis::MlV1::GoogleCloudMlV1Measurement
- Inherits:
-
Object
- Object
- Google::Apis::MlV1::GoogleCloudMlV1Measurement
- 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
A message representing a Measurement.
Instance Attribute Summary collapse
-
#elapsed_time ⇒ String
Time that the Trial has been running at the point of this Measurement.
-
#metrics ⇒ Array<Google::Apis::MlV1::GoogleCloudMlV1MeasurementMetric>
Provides a list of metrics that act as inputs into the objective function.
-
#step_count ⇒ Fixnum
The number of steps a machine learning model has been trained for.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMlV1Measurement
constructor
A new instance of GoogleCloudMlV1Measurement.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudMlV1Measurement
Returns a new instance of GoogleCloudMlV1Measurement.
1472 1473 1474 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1472 def initialize(**args) update!(**args) end |
Instance Attribute Details
#elapsed_time ⇒ String
Time that the Trial has been running at the point of this Measurement.
Corresponds to the JSON property elapsedTime
1458 1459 1460 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1458 def elapsed_time @elapsed_time end |
#metrics ⇒ Array<Google::Apis::MlV1::GoogleCloudMlV1MeasurementMetric>
Provides a list of metrics that act as inputs into the objective
function.
Corresponds to the JSON property metrics
1464 1465 1466 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1464 def metrics @metrics end |
#step_count ⇒ Fixnum
The number of steps a machine learning model has been trained for.
Must be non-negative.
Corresponds to the JSON property stepCount
1470 1471 1472 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1470 def step_count @step_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1477 1478 1479 1480 1481 |
# File 'generated/google/apis/ml_v1/classes.rb', line 1477 def update!(**args) @elapsed_time = args[:elapsed_time] if args.key?(:elapsed_time) @metrics = args[:metrics] if args.key?(:metrics) @step_count = args[:step_count] if args.key?(:step_count) end |