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.v1beta1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Methods
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig build()
Returns
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig buildPartial()
Returns
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clear()
Returns
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearAttributionScoreDriftThresholds()
Returns
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearDriftThresholds()
Returns
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder clone()
Returns
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.v1beta1.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.v1beta1.ThresholdConfig> drift_thresholds = 1;
Parameter
Returns
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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;
Parameter
Returns
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.ThresholdConfig> drift_thresholds = 1;
Parameter
Returns
public Map<String,ThresholdConfig> getMutableAttributionScoreDriftThresholds()
Use alternate mutation accessors instead.
Returns
public Map<String,ThresholdConfig> getMutableDriftThresholds()
Use alternate mutation accessors instead.
Returns
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.PredictionDriftDetectionConfig.Builder mergeFrom(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig other)
Parameter
Returns
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;
Parameter
Returns
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.v1beta1.ThresholdConfig> drift_thresholds = 1;
Parameter
Returns
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.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;
Parameters
Returns
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.v1beta1.ThresholdConfig> drift_thresholds = 1;
Parameters
Returns
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.v1beta1.ThresholdConfig> attribution_score_drift_thresholds = 2;
Parameter
Returns
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.v1beta1.ThresholdConfig> drift_thresholds = 1;
Parameter
Returns
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides