Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelExplanation
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelExplanation
- 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
Aggregated explanation metrics for a Model over a set of instances.
Instance Attribute Summary collapse
-
#mean_attributions ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Attribution>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelExplanation
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelExplanation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelExplanation
Returns a new instance of GoogleCloudAiplatformV1beta1ModelExplanation.
16407 16408 16409 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16407 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mean_attributions ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Attribution>
Output only. Aggregated attributions explaining the Model's prediction outputs
over the set of instances. The attributions are grouped by outputs. For Models
that predict only one output, such as regression Models that predict only one
score, there is only one attibution that explains the predicted output. For
Models that predict multiple outputs, such as multiclass Models that predict
multiple classes, each element explains one specific item. Attribution.
output_index can be used to identify which output this attribution is
explaining. The baselineOutputValue, instanceOutputValue and
featureAttributions fields are averaged over the test data. NOTE: Currently
AutoML tabular classification Models produce only one attribution, which
averages attributions over all the classes it predicts. Attribution.
approximation_error is not populated.
Corresponds to the JSON property meanAttributions
16405 16406 16407 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16405 def mean_attributions @mean_attributions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16412 16413 16414 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16412 def update!(**args) @mean_attributions = args[:mean_attributions] if args.key?(:mean_attributions) end |