Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ExplanationConfig.
The config for integrating with Vertex Explainable AI. Only applicable if the Model has explanation_spec populated.
Generated from protobuf message google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ enable_feature_attributes |
bool
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. |
↳ explanation_baseline |
Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\ExplanationConfig\ExplanationBaseline
Predictions generated by the BatchPredictionJob using baseline dataset. |
getEnableFeatureAttributes
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.
Generated from protobuf field bool enable_feature_attributes = 1;
Returns | |
---|---|
Type | Description |
bool |
setEnableFeatureAttributes
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.
Generated from protobuf field bool enable_feature_attributes = 1;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getExplanationBaseline
Predictions generated by the BatchPredictionJob using baseline dataset.
Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\ExplanationConfig\ExplanationBaseline|null |
hasExplanationBaseline
clearExplanationBaseline
setExplanationBaseline
Predictions generated by the BatchPredictionJob using baseline dataset.
Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\ExplanationConfig\ExplanationBaseline
|
Returns | |
---|---|
Type | Description |
$this |