Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfigThresholdConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

The config for Featurestore Monitoring threshold.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfigThresholdConfig

Returns a new instance of GoogleCloudAiplatformV1beta1FeaturestoreMonitoringConfigThresholdConfig.



10096
10097
10098
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10096

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valueFloat

Specify a threshold value that can trigger the alert. 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

Returns:

  • (Float)


10094
10095
10096
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10094

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10101
10102
10103
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10101

def update!(**args)
  @value = args[:value] if args.key?(:value)
end