Google Cloud Ai Platform V1 Client - Class ModelMonitoringObjectiveConfig (1.2.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 Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\TrainingDataset

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

↳ training_prediction_skew_detection_config Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\TrainingPredictionSkewDetectionConfig

The config for skew between training data and prediction data.

↳ prediction_drift_detection_config Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\PredictionDriftDetectionConfig

The config for drift of prediction data.

↳ explanation_config Google\Cloud\AIPlatform\V1\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
Google\Cloud\AIPlatform\V1\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 Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\TrainingDataset
Returns
Type Description
$this

getTrainingPredictionSkewDetectionConfig

The config for skew between training data and prediction data.

Returns
Type Description
Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\TrainingPredictionSkewDetectionConfig|null

hasTrainingPredictionSkewDetectionConfig

clearTrainingPredictionSkewDetectionConfig

setTrainingPredictionSkewDetectionConfig

The config for skew between training data and prediction data.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\TrainingPredictionSkewDetectionConfig
Returns
Type Description
$this

getPredictionDriftDetectionConfig

The config for drift of prediction data.

Returns
Type Description
Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\PredictionDriftDetectionConfig|null

hasPredictionDriftDetectionConfig

clearPredictionDriftDetectionConfig

setPredictionDriftDetectionConfig

The config for drift of prediction data.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\PredictionDriftDetectionConfig
Returns
Type Description
$this

getExplanationConfig

The config for integrating with Vertex Explainable AI.

Returns
Type Description
Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\ExplanationConfig|null

hasExplanationConfig

clearExplanationConfig

setExplanationConfig

The config for integrating with Vertex Explainable AI.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\ExplanationConfig
Returns
Type Description
$this