Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PointwiseMetricResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PointwiseMetricResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/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) ⇒ GoogleCloudAiplatformV1beta1PointwiseMetricResult
constructor
A new instance of GoogleCloudAiplatformV1beta1PointwiseMetricResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PointwiseMetricResult
Returns a new instance of GoogleCloudAiplatformV1beta1PointwiseMetricResult.
23791 23792 23793 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23791 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explanation ⇒ String
Output only. Explanation for pointwise metric score.
Corresponds to the JSON property explanation
23784 23785 23786 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23784 def explanation @explanation end |
#score ⇒ Float
Output only. Pointwise metric score.
Corresponds to the JSON property score
23789 23790 23791 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23789 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23796 23797 23798 23799 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23796 def update!(**args) @explanation = args[:explanation] if args.key?(:explanation) @score = args[:score] if args.key?(:score) end |