Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluatedAnnotationExplanation
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluatedAnnotationExplanation
- 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
Explanation result of the prediction produced by the Model.
Instance Attribute Summary collapse
-
#explanation ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Explanation
Explanation of a prediction (provided in PredictResponse.predictions) produced by the Model on a given instance.
-
#explanation_type ⇒ String
Explanation type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluatedAnnotationExplanation
constructor
A new instance of GoogleCloudAiplatformV1EvaluatedAnnotationExplanation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluatedAnnotationExplanation
Returns a new instance of GoogleCloudAiplatformV1EvaluatedAnnotationExplanation.
8152 8153 8154 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8152 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explanation ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Explanation
Explanation of a prediction (provided in PredictResponse.predictions) produced
by the Model on a given instance.
Corresponds to the JSON property explanation
8144 8145 8146 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8144 def explanation @explanation end |
#explanation_type ⇒ String
Explanation type. For AutoML Image Classification models, possible values are:
image-integrated-gradients*image-xraiCorresponds to the JSON propertyexplanationType
8150 8151 8152 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8150 def explanation_type @explanation_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8157 8158 8159 8160 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 8157 def update!(**args) @explanation = args[:explanation] if args.key?(:explanation) @explanation_type = args[:explanation_type] if args.key?(:explanation_type) end |