class Google::Apis::MlV1::GoogleCloudMlV1Measurement

A message representing a measurement.

Attributes

elapsed_time[RW]

Output only. Time that the trial has been running at the point of this measurement. Corresponds to the JSON property `elapsedTime` @return [String]

metrics[RW]

Provides a list of metrics that act as inputs into the objective function. Corresponds to the JSON property `metrics` @return [Array<Google::Apis::MlV1::GoogleCloudMlV1MeasurementMetric>]

step_count[RW]

The number of steps a machine learning model has been trained for. Must be non- negative. Corresponds to the JSON property `stepCount` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ml_v1/classes.rb, line 1694
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 1699
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