Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CompleteTrialRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CompleteTrialRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Request message for VizierService.CompleteTrial.
Instance Attribute Summary collapse
-
#final_measurement ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Measurement
A message representing a Measurement of a Trial.
-
#infeasible_reason ⇒ String
Optional.
-
#trial_infeasible ⇒ Boolean
(also: #trial_infeasible?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CompleteTrialRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1CompleteTrialRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CompleteTrialRequest
Returns a new instance of GoogleCloudAiplatformV1beta1CompleteTrialRequest.
3132 3133 3134 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3132 def initialize(**args) update!(**args) end |
Instance Attribute Details
#final_measurement ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Measurement
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
3117 3118 3119 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3117 def final_measurement @final_measurement end |
#infeasible_reason ⇒ String
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
3123 3124 3125 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3123 def infeasible_reason @infeasible_reason end |
#trial_infeasible ⇒ Boolean 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
3129 3130 3131 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3129 def trial_infeasible @trial_infeasible end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3137 3138 3139 3140 3141 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3137 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 |