Cloud AI Platform v1 API - Class ThresholdConfig (2.21.0)

public sealed class ThresholdConfig : IMessage<ThresholdConfig>, IEquatable<ThresholdConfig>, IDeepCloneable<ThresholdConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class ThresholdConfig.

The config for feature monitoring threshold.

Inheritance

object > ThresholdConfig

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

ThresholdConfig()

public ThresholdConfig()

ThresholdConfig(ThresholdConfig)

public ThresholdConfig(ThresholdConfig other)
Parameter
NameDescription
otherThresholdConfig

Properties

HasValue

public bool HasValue { get; }

Gets whether the "value" field is set

Property Value
TypeDescription
bool

ThresholdCase

public ThresholdConfig.ThresholdOneofCase ThresholdCase { get; }
Property Value
TypeDescription
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:

  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.
Property Value
TypeDescription
double