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

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

getThreshold

Returns
TypeDescription
string