Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec
- 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
Instance Attribute Summary collapse
-
#explanation_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExplanationSpec
Specification of Model explanation.
-
#explanation_type ⇒ String
Explanation type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec
constructor
A new instance of GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec
Returns a new instance of GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec.
12132 12133 12134 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12132 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explanation_spec ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExplanationSpec
Specification of Model explanation.
Corresponds to the JSON property explanationSpec
12124 12125 12126 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12124 def explanation_spec @explanation_spec end |
#explanation_type ⇒ String
Explanation type. For AutoML Image Classification models, possible values are:
image-integrated-gradients*image-xraiCorresponds to the JSON propertyexplanationType
12130 12131 12132 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12130 def explanation_type @explanation_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12137 12138 12139 12140 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 12137 def update!(**args) @explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec) @explanation_type = args[:explanation_type] if args.key?(:explanation_type) end |