Interface ThresholdConfigOrBuilder (2.5.3)

public interface ThresholdConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getThresholdCase()

public abstract ThresholdConfig.ThresholdCase getThresholdCase()
Returns
TypeDescription
ThresholdConfig.ThresholdCase

getValue()

public abstract double 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\u2013Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.

double value = 1;

Returns
TypeDescription
double

The value.

hasValue()

public abstract boolean hasValue()

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\u2013Shannon divergence. Each feature must have a non-zero threshold if they need to be monitored. Otherwise no alert will be triggered for that feature.

double value = 1;

Returns
TypeDescription
boolean

Whether the value field is set.