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
-
#custom_output ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CustomOutput
Spec for custom output.
-
#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.
34011 34012 34013 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34011 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_output ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CustomOutput
Spec for custom output.
Corresponds to the JSON property customOutput
33999 34000 34001 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33999 def custom_output @custom_output end |
#explanation ⇒ String
Output only. Explanation for pointwise metric score.
Corresponds to the JSON property explanation
34004 34005 34006 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34004 def explanation @explanation end |
#score ⇒ Float
Output only. Pointwise metric score.
Corresponds to the JSON property score
34009 34010 34011 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34009 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34016 34017 34018 34019 34020 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34016 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 |