Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ThresholdConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ThresholdConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
The config for feature monitoring threshold.
Instance Attribute Summary collapse
-
#value ⇒ Float
Specify a threshold value that can trigger the alert.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1ThresholdConfig
constructor
A new instance of GoogleCloudAiplatformV1ThresholdConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1ThresholdConfig
Returns a new instance of GoogleCloudAiplatformV1ThresholdConfig.
32239 32240 32241 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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.
Corresponds to the JSON property value
32237 32238 32239 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32237 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
32244 32245 32246 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32244 def update!(**args) @value = args[:value] if args.key?(:value) end |