public static final class ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig extends GeneratedMessageV3 implements ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfigOrBuilder
The config for Prediction data drift detection.
Protobuf type
google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig
Fields
public static final int ATTRIBUTION_SCORE_DRIFT_THRESHOLDS_FIELD_NUMBER
Field Value
public static final int DRIFT_THRESHOLDS_FIELD_NUMBER
Field Value
Methods
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.v1.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.v1.ThresholdConfig> drift_thresholds = 1;
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
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.v1.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.v1.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.v1.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.v1.ThresholdConfig> attribution_score_drift_thresholds = 2;
Parameter
Returns
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstance()
Returns
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1.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.v1.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.v1.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.v1.ThresholdConfig> drift_thresholds = 1;
Parameter
Returns
public Parser<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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 static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilder()
Returns
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilder(ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prototype)
Parameter
Returns
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilderForType()
Returns
protected ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig> parser()
Returns
public ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions