Google Cloud Ai Platform V1 Client - Class PredictionDriftDetectionConfig (1.5.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PredictionDriftDetectionConfig.

The config for Prediction data drift detection.

Generated from protobuf message google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig

Namespace

Google \ Cloud \ AIPlatform \ V1 \ ModelMonitoringObjectiveConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ drift_thresholds array|Google\Protobuf\Internal\MapField

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.

↳ attribution_score_drift_thresholds array|Google\Protobuf\Internal\MapField

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.

↳ default_drift_threshold Google\Cloud\AIPlatform\V1\ThresholdConfig

Drift 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.

getDriftThresholds

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.

Returns
Type Description
Google\Protobuf\Internal\MapField

setDriftThresholds

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.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getAttributionScoreDriftThresholds

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.

Returns
Type Description
Google\Protobuf\Internal\MapField

setAttributionScoreDriftThresholds

Key is the feature name and value is the threshold. The threshold here is against attribution score distance between different time windows.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getDefaultDriftThreshold

Drift 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.

Returns
Type Description
Google\Cloud\AIPlatform\V1\ThresholdConfig|null

hasDefaultDriftThreshold

clearDefaultDriftThreshold

setDefaultDriftThreshold

Drift 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.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\ThresholdConfig
Returns
Type Description
$this