Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseMetricResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PairwiseMetricResult
- 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
Spec for pairwise metric result.
Instance Attribute Summary collapse
-
#explanation ⇒ String
Output only.
-
#pairwise_choice ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PairwiseMetricResult
constructor
A new instance of GoogleCloudAiplatformV1beta1PairwiseMetricResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PairwiseMetricResult
Returns a new instance of GoogleCloudAiplatformV1beta1PairwiseMetricResult.
22387 22388 22389 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22387 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explanation ⇒ String
Output only. Explanation for pairwise metric score.
Corresponds to the JSON property explanation
22380 22381 22382 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22380 def explanation @explanation end |
#pairwise_choice ⇒ String
Output only. Pairwise metric choice.
Corresponds to the JSON property pairwiseChoice
22385 22386 22387 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22385 def pairwise_choice @pairwise_choice end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22392 22393 22394 22395 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22392 def update!(**args) @explanation = args[:explanation] if args.key?(:explanation) @pairwise_choice = args[:pairwise_choice] if args.key?(:pairwise_choice) end |