public sealed class ThresholdConfig : IMessage<ThresholdConfig>, IEquatable<ThresholdConfig>, IDeepCloneable<ThresholdConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class ThresholdConfig.
The config for feature monitoring threshold.
Implements
IMessageThresholdConfig, IEquatableThresholdConfig, IDeepCloneableThresholdConfig, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
ThresholdConfig()
public ThresholdConfig()
ThresholdConfig(ThresholdConfig)
public ThresholdConfig(ThresholdConfig other)
Parameter | |
---|---|
Name | Description |
other |
ThresholdConfig |
Properties
HasValue
public bool HasValue { get; }
Gets whether the "value" field is set
Property Value | |
---|---|
Type | Description |
bool |
ThresholdCase
public ThresholdConfig.ThresholdOneofCase ThresholdCase { get; }
Property Value | |
---|---|
Type | Description |
ThresholdConfigThresholdOneofCase |
Value
public double Value { get; set; }
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.
Property Value | |
---|---|
Type | Description |
double |