Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricResult
- 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
-
#explanation ⇒ String
Output only.
-
#score ⇒ Float
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1PointwiseMetricResult
constructor
A new instance of GoogleCloudAiplatformV1PointwiseMetricResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1PointwiseMetricResult
Returns a new instance of GoogleCloudAiplatformV1PointwiseMetricResult.
18696 18697 18698 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18696 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explanation ⇒ String
Output only. Explanation for pointwise metric score.
Corresponds to the JSON property explanation
18689 18690 18691 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18689 def explanation @explanation end |
#score ⇒ Float
Output only. Pointwise metric score.
Corresponds to the JSON property score
18694 18695 18696 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18694 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18701 18702 18703 18704 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 18701 def update!(**args) @explanation = args[:explanation] if args.key?(:explanation) @score = args[:score] if args.key?(:score) end |