class Google::Apis::MlV1::GoogleCloudMlV1Trial

A message representing a trial.

Attributes

client_id[RW]

Output only. The identifier of the client that originally requested this trial. Corresponds to the JSON property `clientId` @return [String]

end_time[RW]

Output only. Time at which the trial's status changed to COMPLETED. Corresponds to the JSON property `endTime` @return [String]

final_measurement[RW]

A message representing a measurement. Corresponds to the JSON property `finalMeasurement` @return [Google::Apis::MlV1::GoogleCloudMlV1Measurement]

infeasible_reason[RW]

Output only. A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true. Corresponds to the JSON property `infeasibleReason` @return [String]

measurements[RW]

A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time). These are used for early stopping computations. Corresponds to the JSON property `measurements` @return [Array<Google::Apis::MlV1::GoogleCloudMlV1Measurement>]

name[RW]

Output only. Name of the trial assigned by the service. Corresponds to the JSON property `name` @return [String]

parameters[RW]

The parameters of the trial. Corresponds to the JSON property `parameters` @return [Array<Google::Apis::MlV1::GoogleCloudMlV1TrialParameter>]

start_time[RW]

Output only. Time at which the trial was started. Corresponds to the JSON property `startTime` @return [String]

state[RW]

The detailed state of a trial. Corresponds to the JSON property `state` @return [String]

trial_infeasible[RW]

Output only. If true, the parameters in this trial are not attempted again. Corresponds to the JSON property `trialInfeasible` @return [Boolean]

trial_infeasible?[RW]

Output only. If true, the parameters in this trial are not attempted again. Corresponds to the JSON property `trialInfeasible` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ml_v1/classes.rb, line 3002
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 3007
def update!(**args)
  @client_id = args[:client_id] if args.key?(:client_id)
  @end_time = args[:end_time] if args.key?(:end_time)
  @final_measurement = args[:final_measurement] if args.key?(:final_measurement)
  @infeasible_reason = args[:infeasible_reason] if args.key?(:infeasible_reason)
  @measurements = args[:measurements] if args.key?(:measurements)
  @name = args[:name] if args.key?(:name)
  @parameters = args[:parameters] if args.key?(:parameters)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
  @trial_infeasible = args[:trial_infeasible] if args.key?(:trial_infeasible)
end