Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricResult

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 pointwise metric result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1PointwiseMetricResult

Returns a new instance of GoogleCloudAiplatformV1PointwiseMetricResult.



22283
22284
22285
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22283

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

Instance Attribute Details

#custom_outputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput

Spec for custom output. Corresponds to the JSON property customOutput



22271
22272
22273
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22271

def custom_output
  @custom_output
end

#explanationString

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

Returns:

  • (String)


22276
22277
22278
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22276

def explanation
  @explanation
end

#scoreFloat

Output only. Pointwise metric score. Corresponds to the JSON property score

Returns:

  • (Float)


22281
22282
22283
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22281

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22288
22289
22290
22291
22292
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22288

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