Skip to content

Commit db1cd5e

Browse files
Google APIscopybara-github
authored andcommitted
feat: add default_skew_threshold to TrainingPredictionSkewDetectionConfig in aiplatform v1beta1, v1 model_monitoring.proto
feat: add default_drift_threshold to PredictionDriftDetectionConfig in aiplatform v1beta1, v1 model_monitoring.proto PiperOrigin-RevId: 455164942
1 parent 49e6a7e commit db1cd5e

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/model_monitoring.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ message ModelMonitoringObjectiveConfig {
8282
// against attribution score distance between the training and prediction
8383
// feature.
8484
map<string, ThresholdConfig> attribution_score_skew_thresholds = 2;
85+
86+
// Skew anomaly detection threshold used by all features.
87+
// When the per-feature thresholds are not set, this field can be used to
88+
// specify a threshold for all features.
89+
ThresholdConfig default_skew_threshold = 6;
8590
}
8691

8792
// The config for Prediction data drift detection.
@@ -95,6 +100,11 @@ message ModelMonitoringObjectiveConfig {
95100
// Key is the feature name and value is the threshold. The threshold here is
96101
// against attribution score distance between different time windows.
97102
map<string, ThresholdConfig> attribution_score_drift_thresholds = 2;
103+
104+
// Drift anomaly detection threshold used by all features.
105+
// When the per-feature thresholds are not set, this field can be used to
106+
// specify a threshold for all features.
107+
ThresholdConfig default_drift_threshold = 5;
98108
}
99109

100110
// The config for integrating with Vertex Explainable AI. Only applicable if

google/cloud/aiplatform/v1beta1/model_monitoring.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ message ModelMonitoringObjectiveConfig {
8282
// against attribution score distance between the training and prediction
8383
// feature.
8484
map<string, ThresholdConfig> attribution_score_skew_thresholds = 2;
85+
86+
// Skew anomaly detection threshold used by all features.
87+
// When the per-feature thresholds are not set, this field can be used to
88+
// specify a threshold for all features.
89+
ThresholdConfig default_skew_threshold = 6;
8590
}
8691

8792
// The config for Prediction data drift detection.
@@ -95,6 +100,11 @@ message ModelMonitoringObjectiveConfig {
95100
// Key is the feature name and value is the threshold. The threshold here is
96101
// against attribution score distance between different time windows.
97102
map<string, ThresholdConfig> attribution_score_drift_thresholds = 2;
103+
104+
// Drift anomaly detection threshold used by all features.
105+
// When the per-feature thresholds are not set, this field can be used to
106+
// specify a threshold for all features.
107+
ThresholdConfig default_drift_threshold = 5;
98108
}
99109

100110
// The config for integrating with Vertex Explainable AI. Only applicable if

0 commit comments

Comments
 (0)