public interface ThresholdConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getThresholdCase()
public abstract ThresholdConfig.ThresholdCase getThresholdCase()
Returns | |
---|---|
Type | Description |
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:
- For categorical feature, the distribution distance is calculated by L-inifinity norm.
- 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.
double value = 1;
Returns | |
---|---|
Type | Description |
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:
- For categorical feature, the distribution distance is calculated by L-inifinity norm.
- 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.
double value = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the value field is set. |