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.v1beta1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig build()
Returns
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig buildPartial()
Returns
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clear()
Returns
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearAttributionScoreSkewThresholds()
Returns
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.v1beta1.ThresholdConfig default_skew_threshold = 6;
Returns
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clearSkewThresholds()
Returns
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder clone()
Returns
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.v1beta1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Parameter
Returns
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.v1beta1.ThresholdConfig> skew_thresholds = 1;
Parameter
Returns
public Map<String,ThresholdConfig> getAttributionScoreSkewThresholds()
Returns
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.v1beta1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Returns
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.v1beta1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Returns
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.v1beta1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Parameters
Returns
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.v1beta1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Parameter
Returns
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getDefaultInstanceForType()
Returns
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.v1beta1.ThresholdConfig default_skew_threshold = 6;
Returns
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.v1beta1.ThresholdConfig default_skew_threshold = 6;
Returns
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.v1beta1.ThresholdConfig default_skew_threshold = 6;
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Map<String,ThresholdConfig> getMutableAttributionScoreSkewThresholds()
Use alternate mutation accessors instead.
Returns
public Map<String,ThresholdConfig> getMutableSkewThresholds()
Use alternate mutation accessors instead.
Returns
public Map<String,ThresholdConfig> getSkewThresholds()
Returns
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.v1beta1.ThresholdConfig> skew_thresholds = 1;
Returns
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.v1beta1.ThresholdConfig> skew_thresholds = 1;
Returns
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.v1beta1.ThresholdConfig> skew_thresholds = 1;
Parameters
Returns
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.v1beta1.ThresholdConfig> skew_thresholds = 1;
Parameter
Returns
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.v1beta1.ThresholdConfig default_skew_threshold = 6;
Returns
Type | Description |
boolean | Whether the defaultSkewThreshold field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
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.v1beta1.ThresholdConfig default_skew_threshold = 6;
Parameter
Returns
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig other)
Parameter
Returns
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1beta1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Parameter
Returns
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.v1beta1.ThresholdConfig> skew_thresholds = 1;
Parameter
Returns
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.v1beta1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Parameters
Returns
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.v1beta1.ThresholdConfig> skew_thresholds = 1;
Parameters
Returns
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.v1beta1.ThresholdConfig> attribution_score_skew_thresholds = 2;
Parameter
Returns
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.v1beta1.ThresholdConfig> skew_thresholds = 1;
Parameter
Returns
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.v1beta1.ThresholdConfig default_skew_threshold = 6;
Parameter
Returns
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.v1beta1.ThresholdConfig default_skew_threshold = 6;
Parameter
Returns
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides