public static final class ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder extends GeneratedMessageV3.Builder<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder> implements ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfigOrBuilder
The config for Training & Prediction data skew detection. It specifies the
training dataset sources and the skew detection parameters.
Protobuf type
google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig
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.TrainingPredictionSkewDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig build()
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig buildPartial()
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clear()
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearAttributionScoreSkewThresholds()
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearDefaultSkewThreshold()
Skew 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_skew_threshold = 6;
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearSkewThresholds()
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clone()
Overrides
public boolean containsAttributionScoreSkewThresholds(String key)
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between the training and prediction
feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Parameter |
---|
Name | Description |
key | String
|
public boolean containsSkewThresholds(String key)
Key is the feature name and value is the threshold. If a feature needs to
be monitored for skew, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between the training and prediction feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> skew_thresholds = 1;
Parameter |
---|
Name | Description |
key | String
|
public Map<String,ThresholdConfig> getAttributionScoreSkewThresholds()
public int getAttributionScoreSkewThresholdsCount()
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between the training and prediction
feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Returns |
---|
Type | Description |
int | |
public Map<String,ThresholdConfig> getAttributionScoreSkewThresholdsMap()
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between the training and prediction
feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;
public ThresholdConfig getAttributionScoreSkewThresholdsOrDefault(String key, ThresholdConfig defaultValue)
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between the training and prediction
feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;
public ThresholdConfig getAttributionScoreSkewThresholdsOrThrow(String key)
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between the training and prediction
feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Parameter |
---|
Name | Description |
key | String
|
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getDefaultInstanceForType()
public ThresholdConfig getDefaultSkewThreshold()
Skew 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_skew_threshold = 6;
public ThresholdConfig.Builder getDefaultSkewThresholdBuilder()
Skew 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_skew_threshold = 6;
public ThresholdConfigOrBuilder getDefaultSkewThresholdOrBuilder()
Skew 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_skew_threshold = 6;
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,ThresholdConfig> getMutableAttributionScoreSkewThresholds()
Use alternate mutation accessors instead.
public Map<String,ThresholdConfig> getMutableSkewThresholds()
Use alternate mutation accessors instead.
public Map<String,ThresholdConfig> getSkewThresholds()
public int getSkewThresholdsCount()
Key is the feature name and value is the threshold. If a feature needs to
be monitored for skew, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between the training and prediction feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> skew_thresholds = 1;
Returns |
---|
Type | Description |
int | |
public Map<String,ThresholdConfig> getSkewThresholdsMap()
Key is the feature name and value is the threshold. If a feature needs to
be monitored for skew, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between the training and prediction feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> skew_thresholds = 1;
public ThresholdConfig getSkewThresholdsOrDefault(String key, ThresholdConfig defaultValue)
Key is the feature name and value is the threshold. If a feature needs to
be monitored for skew, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between the training and prediction feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> skew_thresholds = 1;
public ThresholdConfig getSkewThresholdsOrThrow(String key)
Key is the feature name and value is the threshold. If a feature needs to
be monitored for skew, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between the training and prediction feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> skew_thresholds = 1;
Parameter |
---|
Name | Description |
key | String
|
public boolean hasDefaultSkewThreshold()
Skew 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_skew_threshold = 6;
Returns |
---|
Type | Description |
boolean | Whether the defaultSkewThreshold 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.TrainingPredictionSkewDetectionConfig.Builder mergeDefaultSkewThreshold(ThresholdConfig value)
Skew 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_skew_threshold = 6;
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig other)
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder putAllAttributionScoreSkewThresholds(Map<String,ThresholdConfig> values)
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between the training and prediction
feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder putAllSkewThresholds(Map<String,ThresholdConfig> values)
Key is the feature name and value is the threshold. If a feature needs to
be monitored for skew, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between the training and prediction feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> skew_thresholds = 1;
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder putAttributionScoreSkewThresholds(String key, ThresholdConfig value)
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between the training and prediction
feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder putSkewThresholds(String key, ThresholdConfig value)
Key is the feature name and value is the threshold. If a feature needs to
be monitored for skew, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between the training and prediction feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> skew_thresholds = 1;
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder removeAttributionScoreSkewThresholds(String key)
Key is the feature name and value is the threshold. The threshold here is
against attribution score distance between the training and prediction
feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Parameter |
---|
Name | Description |
key | String
|
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder removeSkewThresholds(String key)
Key is the feature name and value is the threshold. If a feature needs to
be monitored for skew, a value threshold must be configured for that
feature. The threshold here is against feature distribution distance
between the training and prediction feature.
map<string, .google.cloud.aiplatform.v1.ThresholdConfig> skew_thresholds = 1;
Parameter |
---|
Name | Description |
key | String
|
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setDefaultSkewThreshold(ThresholdConfig value)
Skew 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_skew_threshold = 6;
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setDefaultSkewThreshold(ThresholdConfig.Builder builderForValue)
Skew 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_skew_threshold = 6;
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides