Google Cloud Ai Platform V1 Client - Class PredictionDriftDetectionConfig (0.29.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
NameDescription
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
TypeDescription
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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\AIPlatform\V1\ThresholdConfig
Returns
TypeDescription
$this