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

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
NameDescription
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
TypeDescription
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
NameDescription
var float
Returns
TypeDescription
$this

getThreshold

Returns
TypeDescription
string