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.



19211
19212
19213
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19211

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

Instance Attribute Details

#explanationString

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

Returns:

  • (String)


19204
19205
19206
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19204

def explanation
  @explanation
end

#scoreFloat

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

Returns:

  • (Float)


19209
19210
19211
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19209

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19216
19217
19218
19219
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 19216

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