Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompleteTrialRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Request message for VizierService.CompleteTrial.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1CompleteTrialRequest

Returns a new instance of GoogleCloudAiplatformV1CompleteTrialRequest.



2869
2870
2871
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2869

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#final_measurementGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1Measurement

A message representing a Measurement of a Trial. A Measurement contains the Metrics got by executing a Trial using suggested hyperparameter values. Corresponds to the JSON property finalMeasurement



2854
2855
2856
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2854

def final_measurement
  @final_measurement
end

#infeasible_reasonString

Optional. A human readable reason why the trial was infeasible. This should only be provided if trial_infeasible is true. Corresponds to the JSON property infeasibleReason

Returns:

  • (String)


2860
2861
2862
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2860

def infeasible_reason
  @infeasible_reason
end

#trial_infeasibleBoolean Also known as: trial_infeasible?

Optional. True if the Trial cannot be run with the given Parameter, and final_measurement will be ignored. Corresponds to the JSON property trialInfeasible

Returns:

  • (Boolean)


2866
2867
2868
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2866

def trial_infeasible
  @trial_infeasible
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2874
2875
2876
2877
2878
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2874

def update!(**args)
  @final_measurement = args[:final_measurement] if args.key?(:final_measurement)
  @infeasible_reason = args[:infeasible_reason] if args.key?(:infeasible_reason)
  @trial_infeasible = args[:trial_infeasible] if args.key?(:trial_infeasible)
end