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

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

The config for feature monitoring threshold.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

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. If this threshold config is for feature distribution distance: 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.

If this threshold config is for feature distribution distance:

  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.

If this threshold config is for feature distribution distance:

  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