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.



25402
25403
25404
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25402

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

Instance Attribute Details

#custom_outputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput

Spec for custom output. Corresponds to the JSON property customOutput



25390
25391
25392
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25390

def custom_output
  @custom_output
end

#explanationString

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

Returns:

  • (String)


25395
25396
25397
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25395

def explanation
  @explanation
end

#pairwise_choiceString

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

Returns:

  • (String)


25400
25401
25402
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25400

def pairwise_choice
  @pairwise_choice
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25407
25408
25409
25410
25411
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25407

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