public static final class ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig extends GeneratedMessageV3 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 Fields
public static final int ATTRIBUTION_SCORE_SKEW_THRESHOLDS_FIELD_NUMBER
Field Value
public static final int SKEW_THRESHOLDS_FIELD_NUMBER
Field Value
Static Methods
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder newBuilder()
Returns
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder newBuilder(ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig prototype)
Parameter
Returns
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig> parser()
Returns
Methods
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 boolean equals(Object obj)
Parameter
Returns
Overrides
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 Parser<ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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 final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder newBuilderForType()
Returns
protected ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions