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
-
#custom_output ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput
Spec for custom output.
-
#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.
30018 30019 30020 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30018 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_output ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput
Spec for custom output.
Corresponds to the JSON property customOutput
30006 30007 30008 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30006 def custom_output @custom_output end |
#explanation ⇒ String
Output only. Explanation for pointwise metric score.
Corresponds to the JSON property explanation
30011 30012 30013 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30011 def explanation @explanation end |
#score ⇒ Float
Output only. Pointwise metric score.
Corresponds to the JSON property score
30016 30017 30018 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30016 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30023 30024 30025 30026 30027 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 30023 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 |