public static final class ModelMonitoringObjectiveConfig.ExplanationConfig extends GeneratedMessageV3 implements ModelMonitoringObjectiveConfig.ExplanationConfigOrBuilder
The config for integrating with Vertex Explainable AI. Only applicable if
the Model has explanation_spec populated.
Protobuf type
google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig.ExplanationConfig
Static Fields
public static final int ENABLE_FEATURE_ATTRIBUTES_FIELD_NUMBER
Field Value
public static final int EXPLANATION_BASELINE_FIELD_NUMBER
Field Value
Static Methods
public static ModelMonitoringObjectiveConfig.ExplanationConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ModelMonitoringObjectiveConfig.ExplanationConfig.Builder newBuilder()
Returns
public static ModelMonitoringObjectiveConfig.ExplanationConfig.Builder newBuilder(ModelMonitoringObjectiveConfig.ExplanationConfig prototype)
Parameter
Returns
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.ExplanationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ModelMonitoringObjectiveConfig.ExplanationConfig> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ModelMonitoringObjectiveConfig.ExplanationConfig getDefaultInstanceForType()
Returns
public boolean 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.
bool enable_feature_attributes = 1;
Returns
Type | Description |
boolean | The enableFeatureAttributes.
|
public ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline getExplanationBaseline()
Predictions generated by the BatchPredictionJob using baseline dataset.
.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2;
Returns
public ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaselineOrBuilder getExplanationBaselineOrBuilder()
Predictions generated by the BatchPredictionJob using baseline dataset.
.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2;
Returns
public Parser<ModelMonitoringObjectiveConfig.ExplanationConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasExplanationBaseline()
Predictions generated by the BatchPredictionJob using baseline dataset.
.google.cloud.aiplatform.v1beta1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline explanation_baseline = 2;
Returns
Type | Description |
boolean | Whether the explanationBaseline field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelMonitoringObjectiveConfig.ExplanationConfig.Builder newBuilderForType()
Returns
protected ModelMonitoringObjectiveConfig.ExplanationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ModelMonitoringObjectiveConfig.ExplanationConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions