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.
17624 17625 17626 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17624 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
17594 17595 17596 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17594 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
17599 17600 17601 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17599 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
17604 17605 17606 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17604 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
17609 17610 17611 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17609 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
17617 17618 17619 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17617 def features @features end |
#numeric_metric_type ⇒ String
Supported metrics type: * jensen_shannon_divergence
Corresponds to the JSON property numericMetricType
17622 17623 17624 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17622 def numeric_metric_type @numeric_metric_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17629 17630 17631 17632 17633 17634 17635 17636 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17629 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 |