Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricResult
- 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
Spec for pairwise metric result.
Instance Attribute Summary collapse
-
#custom_output ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput
Spec for custom output.
-
#explanation ⇒ String
Output only.
-
#pairwise_choice ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1PairwiseMetricResult
constructor
A new instance of GoogleCloudAiplatformV1PairwiseMetricResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1PairwiseMetricResult
Returns a new instance of GoogleCloudAiplatformV1PairwiseMetricResult.
20257 20258 20259 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20257 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_output ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput
Spec for custom output.
Corresponds to the JSON property customOutput
20245 20246 20247 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20245 def custom_output @custom_output end |
#explanation ⇒ String
Output only. Explanation for pairwise metric score.
Corresponds to the JSON property explanation
20250 20251 20252 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20250 def explanation @explanation end |
#pairwise_choice ⇒ String
Output only. Pairwise metric choice.
Corresponds to the JSON property pairwiseChoice
20255 20256 20257 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20255 def pairwise_choice @pairwise_choice end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20262 20263 20264 20265 20266 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 20262 def update!(**args) @custom_output = args[:custom_output] if args.key?(:custom_output) @explanation = args[:explanation] if args.key?(:explanation) @pairwise_choice = args[:pairwise_choice] if args.key?(:pairwise_choice) end |