Google Cloud Ai Platform V1 Client - Class ThresholdConfig (1.12.0)

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

The config for Featurestore Monitoring threshold.

Generated from protobuf message google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig

Namespace

Google \ Cloud \ AIPlatform \ V1 \ FeaturestoreMonitoringConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value float

Specify a threshold value that can trigger the alert. 1. For categorical feature, the distribution distance is calculated by L-inifinity norm. 2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.

getValue

Specify a threshold value that can trigger the alert.

  1. For categorical feature, the distribution distance is calculated by L-inifinity norm.
  2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.
Returns
Type Description
float

hasValue

setValue

Specify a threshold value that can trigger the alert.

  1. For categorical feature, the distribution distance is calculated by L-inifinity norm.
  2. For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.
Parameter
Name Description
var float
Returns
Type Description
$this

getThreshold

Returns
Type Description
string