Google Cloud Ai Platform V1 Client - Class ModelMonitoringObjectiveConfig (1.12.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ModelMonitoringObjectiveConfig.

The objective configuration for model monitoring, including the information needed to detect anomalies for one particular model.

Generated from protobuf message google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ training_dataset ModelMonitoringObjectiveConfig\TrainingDataset

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

↳ training_prediction_skew_detection_config ModelMonitoringObjectiveConfig\TrainingPredictionSkewDetectionConfig

The config for skew between training data and prediction data.

↳ prediction_drift_detection_config ModelMonitoringObjectiveConfig\PredictionDriftDetectionConfig

The config for drift of prediction data.

↳ explanation_config ModelMonitoringObjectiveConfig\ExplanationConfig

The config for integrating with Vertex Explainable AI.

getTrainingDataset

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

Returns
Type Description
ModelMonitoringObjectiveConfig\TrainingDataset|null

hasTrainingDataset

clearTrainingDataset

setTrainingDataset

Training dataset for models. This field has to be set only if TrainingPredictionSkewDetectionConfig is specified.

Parameter
Name Description
var ModelMonitoringObjectiveConfig\TrainingDataset
Returns
Type Description
$this

getTrainingPredictionSkewDetectionConfig

The config for skew between training data and prediction data.

Returns
Type Description
ModelMonitoringObjectiveConfig\TrainingPredictionSkewDetectionConfig|null

hasTrainingPredictionSkewDetectionConfig

clearTrainingPredictionSkewDetectionConfig

setTrainingPredictionSkewDetectionConfig

The config for skew between training data and prediction data.

Parameter
Name Description
var ModelMonitoringObjectiveConfig\TrainingPredictionSkewDetectionConfig
Returns
Type Description
$this

getPredictionDriftDetectionConfig

The config for drift of prediction data.

Returns
Type Description
ModelMonitoringObjectiveConfig\PredictionDriftDetectionConfig|null

hasPredictionDriftDetectionConfig

clearPredictionDriftDetectionConfig

setPredictionDriftDetectionConfig

The config for drift of prediction data.

Parameter
Name Description
var ModelMonitoringObjectiveConfig\PredictionDriftDetectionConfig
Returns
Type Description
$this

getExplanationConfig

The config for integrating with Vertex Explainable AI.

Returns
Type Description
ModelMonitoringObjectiveConfig\ExplanationConfig|null

hasExplanationConfig

clearExplanationConfig

setExplanationConfig

The config for integrating with Vertex Explainable AI.

Parameter
Name Description
var ModelMonitoringObjectiveConfig\ExplanationConfig
Returns
Type Description
$this