Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig

Inherits:
Object
  • Object
show all
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 objective configuration for model monitoring, including the information needed to detect anomalies for one particular model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig

Returns a new instance of GoogleCloudAiplatformV1ModelMonitoringObjectiveConfig.



15280
15281
15282
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15280

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

Instance Attribute Details

#explanation_configGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfig

The config for integrating with Vertex Explainable AI. Only applicable if the Model has explanation_spec populated. Corresponds to the JSON property explanationConfig



15262
15263
15264
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15262

def explanation_config
  @explanation_config
end

#prediction_drift_detection_configGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig

The config for Prediction data drift detection. Corresponds to the JSON property predictionDriftDetectionConfig



15267
15268
15269
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15267

def prediction_drift_detection_config
  @prediction_drift_detection_config
end

#training_datasetGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset

Training Dataset information. Corresponds to the JSON property trainingDataset



15272
15273
15274
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15272

def training_dataset
  @training_dataset
end

#training_prediction_skew_detection_configGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig

The config for Training & Prediction data skew detection. It specifies the training dataset sources and the skew detection parameters. Corresponds to the JSON property trainingPredictionSkewDetectionConfig



15278
15279
15280
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15278

def training_prediction_skew_detection_config
  @training_prediction_skew_detection_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15285
15286
15287
15288
15289
15290
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 15285

def update!(**args)
  @explanation_config = args[:explanation_config] if args.key?(:explanation_config)
  @prediction_drift_detection_config = args[:prediction_drift_detection_config] if args.key?(:prediction_drift_detection_config)
  @training_dataset = args[:training_dataset] if args.key?(:training_dataset)
  @training_prediction_skew_detection_config = args[:training_prediction_skew_detection_config] if args.key?(:training_prediction_skew_detection_config)
end