public static final class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder extends GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder> implements ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
The config for Prediction data drift detection.
Protobuf type
google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig build()
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig buildPartial()
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clear()
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearAttributionScoreDriftThresholds()
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearDefaultDriftThreshold()
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;
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearDriftThresholds()
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clone()
Overrides
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 |
---|
Name | Description |
key | String
|
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 |
---|
Name | Description |
key | String
|
public Map<String,ThresholdConfig> getAttributionScoreDriftThresholds()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
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;
public ThresholdConfig.Builder getDefaultDriftThresholdBuilder()
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;
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;
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,ThresholdConfig> getDriftThresholds()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
public Map<String,ThresholdConfig> getMutableAttributionScoreDriftThresholds()
Use alternate mutation accessors instead.
public Map<String,ThresholdConfig> getMutableDriftThresholds()
Use alternate mutation accessors instead.
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
public final boolean isInitialized()
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeDefaultDriftThreshold(ThresholdConfig value)
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;
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig other)
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putAllAttributionScoreDriftThresholds(Map<String,ThresholdConfig> values)
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;
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putAllDriftThresholds(Map<String,ThresholdConfig> values)
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;
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putAttributionScoreDriftThresholds(String key, ThresholdConfig value)
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;
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder putDriftThresholds(String key, ThresholdConfig value)
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;
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder removeAttributionScoreDriftThresholds(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 |
---|
Name | Description |
key | String
|
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder removeDriftThresholds(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 |
---|
Name | Description |
key | String
|
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setDefaultDriftThreshold(ThresholdConfig value)
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;
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setDefaultDriftThreshold(ThresholdConfig.Builder builderForValue)
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;
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides