public static final class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig extends GeneratedMessageV3 implements ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
The config for Prediction data drift detection.
Protobuf type
google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Static Fields
public static final int ATTRIBUTION_SCORE_DRIFT_THRESHOLDS_FIELD_NUMBER
Field Value
public static final int DEFAULT_DRIFT_THRESHOLD_FIELD_NUMBER
Field Value
public static final int DRIFT_THRESHOLDS_FIELD_NUMBER
Field Value
Static Methods
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilder()
Returns
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilder(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prototype)
Parameter
Returns
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig> parser()
Returns
Methods
public boolean containsAttributionScoreDriftThresholds(String key)
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2;
Parameter
Returns
public boolean containsDriftThresholds(String key)
Key is the feature name and value is the threshold. If a feature needs to
be monitored for drift, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1;
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Map<String,ThresholdConfig> getAttributionScoreDriftThresholds()
Returns
public int getAttributionScoreDriftThresholdsCount()
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2;
Returns
public Map<String,ThresholdConfig> getAttributionScoreDriftThresholdsMap()
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2;
Returns
public ThresholdConfig getAttributionScoreDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue)
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2;
Parameters
Returns
public ThresholdConfig getAttributionScoreDriftThresholdsOrThrow(String key)
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between different time windows.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_drift_thresholds = 2;
Parameter
Returns
public ThresholdConfig getDefaultDriftThreshold()
Drift anomaly detection threshold used by all features.
When the per-feature thresholds are not set, this field can be used to
specify a threshold for all features.
.google.cloud.aiplatform.v1.ThresholdConfig default_drift_threshold = 5;
Returns
public ThresholdConfigOrBuilder getDefaultDriftThresholdOrBuilder()
Drift anomaly detection threshold used by all features.
When the per-feature thresholds are not set, this field can be used to
specify a threshold for all features.
.google.cloud.aiplatform.v1.ThresholdConfig default_drift_threshold = 5;
Returns
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstanceForType()
Returns
public Map<String,ThresholdConfig> getDriftThresholds()
Returns
public int getDriftThresholdsCount()
Key is the feature name and value is the threshold. If a feature needs to
be monitored for drift, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1;
Returns
public Map<String,ThresholdConfig> getDriftThresholdsMap()
Key is the feature name and value is the threshold. If a feature needs to
be monitored for drift, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1;
Returns
public ThresholdConfig getDriftThresholdsOrDefault(String key, ThresholdConfig defaultValue)
Key is the feature name and value is the threshold. If a feature needs to
be monitored for drift, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1;
Parameters
Returns
public ThresholdConfig getDriftThresholdsOrThrow(String key)
Key is the feature name and value is the threshold. If a feature needs to
be monitored for drift, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between different time windws.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> drift_thresholds = 1;
Parameter
Returns
public Parser<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasDefaultDriftThreshold()
Drift anomaly detection threshold used by all features.
When the per-feature thresholds are not set, this field can be used to
specify a threshold for all features.
.google.cloud.aiplatform.v1.ThresholdConfig default_drift_threshold = 5;
Returns
Type | Description |
boolean | Whether the defaultDriftThreshold field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilderForType()
Returns
protected ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions