Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfig

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 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) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfig

Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfig.



17347
17348
17349
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17347

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

Instance Attribute Details

#explanation_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigExplanationConfig

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



17329
17330
17331
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17329

def explanation_config
  @explanation_config
end

#prediction_drift_detection_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig

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



17334
17335
17336
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17334

def prediction_drift_detection_config
  @prediction_drift_detection_config
end

#training_datasetGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigTrainingDataset

Training Dataset information. Corresponds to the JSON property trainingDataset



17339
17340
17341
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17339

def training_dataset
  @training_dataset
end

#training_prediction_skew_detection_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig

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



17345
17346
17347
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17345

def training_prediction_skew_detection_config
  @training_prediction_skew_detection_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17352
17353
17354
17355
17356
17357
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17352

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