Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricResult

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

Spec for pairwise metric result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1PairwiseMetricResult

Returns a new instance of GoogleCloudAiplatformV1PairwiseMetricResult.



17545
17546
17547
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17545

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

Instance Attribute Details

#explanationString

Output only. Explanation for pairwise metric score. Corresponds to the JSON property explanation

Returns:

  • (String)


17538
17539
17540
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17538

def explanation
  @explanation
end

#pairwise_choiceString

Output only. Pairwise metric choice. Corresponds to the JSON property pairwiseChoice

Returns:

  • (String)


17543
17544
17545
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17543

def pairwise_choice
  @pairwise_choice
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17550
17551
17552
17553
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17550

def update!(**args)
  @explanation = args[:explanation] if args.key?(:explanation)
  @pairwise_choice = args[:pairwise_choice] if args.key?(:pairwise_choice)
end