Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecDataDriftSpec
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecDataDriftSpec
- 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
Data drift monitoring spec. Data drift measures the distribution distance between the current dataset and a baseline dataset. A typical use case is to detect data drift between the recent production serving dataset and the training dataset, or to compare the recent production dataset with a dataset from a previous period.
Instance Attribute Summary collapse
-
#categorical_metric_type ⇒ String
Supported metrics type: * l_infinity * jensen_shannon_divergence Corresponds to the JSON property
categoricalMetricType. -
#default_categorical_alert_condition ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition
Monitoring alert triggered condition.
-
#default_numeric_alert_condition ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition
Monitoring alert triggered condition.
-
#feature_alert_conditions ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition>
Per feature alert condition will override default alert condition.
-
#features ⇒ Array<String>
Feature names / Prediction output names interested in monitoring.
-
#numeric_metric_type ⇒ String
Supported metrics type: * jensen_shannon_divergence Corresponds to the JSON property
numericMetricType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecDataDriftSpec
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecDataDriftSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecDataDriftSpec
Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecDataDriftSpec.
20079 20080 20081 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20079 def initialize(**args) update!(**args) end |
Instance Attribute Details
#categorical_metric_type ⇒ String
Supported metrics type: * l_infinity * jensen_shannon_divergence
Corresponds to the JSON property categoricalMetricType
20049 20050 20051 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20049 def categorical_metric_type @categorical_metric_type end |
#default_categorical_alert_condition ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition
Monitoring alert triggered condition.
Corresponds to the JSON property defaultCategoricalAlertCondition
20054 20055 20056 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20054 def default_categorical_alert_condition @default_categorical_alert_condition end |
#default_numeric_alert_condition ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition
Monitoring alert triggered condition.
Corresponds to the JSON property defaultNumericAlertCondition
20059 20060 20061 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20059 def default_numeric_alert_condition @default_numeric_alert_condition end |
#feature_alert_conditions ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition>
Per feature alert condition will override default alert condition.
Corresponds to the JSON property featureAlertConditions
20064 20065 20066 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20064 def feature_alert_conditions @feature_alert_conditions end |
#features ⇒ Array<String>
Feature names / Prediction output names interested in monitoring. These should
be a subset of the input feature names or prediction output names specified in
the monitoring schema. If the field is not specified all features / prediction
outputs outlied in the monitoring schema will be used.
Corresponds to the JSON property features
20072 20073 20074 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20072 def features @features end |
#numeric_metric_type ⇒ String
Supported metrics type: * jensen_shannon_divergence
Corresponds to the JSON property numericMetricType
20077 20078 20079 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20077 def numeric_metric_type @numeric_metric_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20084 20085 20086 20087 20088 20089 20090 20091 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 20084 def update!(**args) @categorical_metric_type = args[:categorical_metric_type] if args.key?(:categorical_metric_type) @default_categorical_alert_condition = args[:default_categorical_alert_condition] if args.key?(:default_categorical_alert_condition) @default_numeric_alert_condition = args[:default_numeric_alert_condition] if args.key?(:default_numeric_alert_condition) @feature_alert_conditions = args[:feature_alert_conditions] if args.key?(:feature_alert_conditions) @features = args[:features] if args.key?(:features) @numeric_metric_type = args[:numeric_metric_type] if args.key?(:numeric_metric_type) end |