Google Cloud Ai Platform V1 Client - Class ModelMonitoringObjectiveConfig (0.24.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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\TrainingDataset
Returns
TypeDescription
$this

getTrainingPredictionSkewDetectionConfig

The config for skew between training data and prediction data.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\TrainingPredictionSkewDetectionConfig|null

hasTrainingPredictionSkewDetectionConfig

clearTrainingPredictionSkewDetectionConfig

setTrainingPredictionSkewDetectionConfig

The config for skew between training data and prediction data.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\TrainingPredictionSkewDetectionConfig
Returns
TypeDescription
$this

getPredictionDriftDetectionConfig

The config for drift of prediction data.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\PredictionDriftDetectionConfig|null

hasPredictionDriftDetectionConfig

clearPredictionDriftDetectionConfig

setPredictionDriftDetectionConfig

The config for drift of prediction data.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\PredictionDriftDetectionConfig
Returns
TypeDescription
$this

getExplanationConfig

The config for integrating with Vertex Explainable AI.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\ExplanationConfig|null

hasExplanationConfig

clearExplanationConfig

setExplanationConfig

The config for integrating with Vertex Explainable AI.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\ModelMonitoringObjectiveConfig\ExplanationConfig
Returns
TypeDescription
$this