Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigExplanationConfig

Inherits:
Object
  • Object
show all
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

The config for integrating with Vertex Explainable AI. Only applicable if the Model has explanation_spec populated.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigExplanationConfig

Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigExplanationConfig.



17379
17380
17381
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17379

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#enable_feature_attributesBoolean Also known as: enable_feature_attributes?

If want to analyze the Vertex Explainable AI feature attribute scores or not. If set to true, Vertex AI will log the feature attributions from explain response and do the skew/drift detection for them. Corresponds to the JSON property enableFeatureAttributes

Returns:

  • (Boolean)


17370
17371
17372
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17370

def enable_feature_attributes
  @enable_feature_attributes
end

#explanation_baselineGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigExplanationConfigExplanationBaseline

Output from BatchPredictionJob for Model Monitoring baseline dataset, which can be used to generate baseline attribution scores. Corresponds to the JSON property explanationBaseline



17377
17378
17379
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17377

def explanation_baseline
  @explanation_baseline
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17384
17385
17386
17387
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17384

def update!(**args)
  @enable_feature_attributes = args[:enable_feature_attributes] if args.key?(:enable_feature_attributes)
  @explanation_baseline = args[:explanation_baseline] if args.key?(:explanation_baseline)
end