Google Cloud Ai Platform V1 Client - Class ModelMonitoringObjectiveConfig (0.10.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

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.

Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

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.

Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset training_dataset = 1;

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

getTrainingPredictionSkewDetectionConfig

The config for skew between training data and prediction data.

Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

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

hasTrainingPredictionSkewDetectionConfig

clearTrainingPredictionSkewDetectionConfig

setTrainingPredictionSkewDetectionConfig

The config for skew between training data and prediction data.

Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig training_prediction_skew_detection_config = 2;

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

getPredictionDriftDetectionConfig

The config for drift of prediction data.

Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

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

hasPredictionDriftDetectionConfig

clearPredictionDriftDetectionConfig

setPredictionDriftDetectionConfig

The config for drift of prediction data.

Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig prediction_drift_detection_config = 3;

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

getExplanationConfig

The config for integrating with Vertex Explainable AI.

Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

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

hasExplanationConfig

clearExplanationConfig

setExplanationConfig

The config for integrating with Vertex Explainable AI.

Generated from protobuf field .google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig explanation_config = 5;

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