Interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilder (3.43.0)

public static interface ModelMonitoringObjectiveSpec.DataDriftSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsFeatureAlertConditions(String key)

public abstract boolean containsFeatureAlertConditions(String key)

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Parameter
Name Description
key String
Returns
Type Description
boolean

getCategoricalMetricType()

public abstract String getCategoricalMetricType()

Supported metrics type:

  • l_infinity
  • jensen_shannon_divergence

string categorical_metric_type = 2;

Returns
Type Description
String

The categoricalMetricType.

getCategoricalMetricTypeBytes()

public abstract ByteString getCategoricalMetricTypeBytes()

Supported metrics type:

  • l_infinity
  • jensen_shannon_divergence

string categorical_metric_type = 2;

Returns
Type Description
ByteString

The bytes for categoricalMetricType.

getDefaultCategoricalAlertCondition()

public abstract ModelMonitoringAlertCondition getDefaultCategoricalAlertCondition()

Default alert condition for all the categorical features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;

Returns
Type Description
ModelMonitoringAlertCondition

The defaultCategoricalAlertCondition.

getDefaultCategoricalAlertConditionOrBuilder()

public abstract ModelMonitoringAlertConditionOrBuilder getDefaultCategoricalAlertConditionOrBuilder()

Default alert condition for all the categorical features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;

Returns
Type Description
ModelMonitoringAlertConditionOrBuilder

getDefaultNumericAlertCondition()

public abstract ModelMonitoringAlertCondition getDefaultNumericAlertCondition()

Default alert condition for all the numeric features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;

Returns
Type Description
ModelMonitoringAlertCondition

The defaultNumericAlertCondition.

getDefaultNumericAlertConditionOrBuilder()

public abstract ModelMonitoringAlertConditionOrBuilder getDefaultNumericAlertConditionOrBuilder()

Default alert condition for all the numeric features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;

Returns
Type Description
ModelMonitoringAlertConditionOrBuilder

getFeatureAlertConditions() (deprecated)

public abstract Map<String,ModelMonitoringAlertCondition> getFeatureAlertConditions()
Returns
Type Description
Map<String,ModelMonitoringAlertCondition>

getFeatureAlertConditionsCount()

public abstract int getFeatureAlertConditionsCount()

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Returns
Type Description
int

getFeatureAlertConditionsMap()

public abstract Map<String,ModelMonitoringAlertCondition> getFeatureAlertConditionsMap()

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Returns
Type Description
Map<String,ModelMonitoringAlertCondition>

getFeatureAlertConditionsOrDefault(String key, ModelMonitoringAlertCondition defaultValue)

public abstract ModelMonitoringAlertCondition getFeatureAlertConditionsOrDefault(String key, ModelMonitoringAlertCondition defaultValue)

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Parameters
Name Description
key String
defaultValue ModelMonitoringAlertCondition
Returns
Type Description
ModelMonitoringAlertCondition

getFeatureAlertConditionsOrThrow(String key)

public abstract ModelMonitoringAlertCondition getFeatureAlertConditionsOrThrow(String key)

Per feature alert condition will override default alert condition.

map<string, .google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition> feature_alert_conditions = 6;

Parameter
Name Description
key String
Returns
Type Description
ModelMonitoringAlertCondition

getFeatures(int index)

public abstract String getFeatures(int index)

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The features at the given index.

getFeaturesBytes(int index)

public abstract ByteString getFeaturesBytes(int index)

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the features at the given index.

getFeaturesCount()

public abstract int getFeaturesCount()

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Returns
Type Description
int

The count of features.

getFeaturesList()

public abstract List<String> getFeaturesList()

Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used.

repeated string features = 1;

Returns
Type Description
List<String>

A list containing the features.

getNumericMetricType()

public abstract String getNumericMetricType()

Supported metrics type:

  • jensen_shannon_divergence

string numeric_metric_type = 3;

Returns
Type Description
String

The numericMetricType.

getNumericMetricTypeBytes()

public abstract ByteString getNumericMetricTypeBytes()

Supported metrics type:

  • jensen_shannon_divergence

string numeric_metric_type = 3;

Returns
Type Description
ByteString

The bytes for numericMetricType.

hasDefaultCategoricalAlertCondition()

public abstract boolean hasDefaultCategoricalAlertCondition()

Default alert condition for all the categorical features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_categorical_alert_condition = 4;

Returns
Type Description
boolean

Whether the defaultCategoricalAlertCondition field is set.

hasDefaultNumericAlertCondition()

public abstract boolean hasDefaultNumericAlertCondition()

Default alert condition for all the numeric features.

.google.cloud.aiplatform.v1beta1.ModelMonitoringAlertCondition default_numeric_alert_condition = 5;

Returns
Type Description
boolean

Whether the defaultNumericAlertCondition field is set.