Struct google_api_proto::google::cloud::aiplatform::v1beta1::model_monitoring_objective_spec::DataDriftSpec
source · pub struct DataDriftSpec {
pub features: Vec<String>,
pub categorical_metric_type: String,
pub numeric_metric_type: String,
pub default_categorical_alert_condition: Option<ModelMonitoringAlertCondition>,
pub default_numeric_alert_condition: Option<ModelMonitoringAlertCondition>,
pub feature_alert_conditions: BTreeMap<String, ModelMonitoringAlertCondition>,
}
Expand description
Data drift monitoring spec. Data drift measures the distribution distance between the current dataset and a baseline dataset. A typical use case is to detect data drift between the recent production serving dataset and the training dataset, or to compare the recent production dataset with a dataset from a previous period.
Fields§
§features: Vec<String>
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.
categorical_metric_type: String
Supported metrics type:
- l_infinity
- jensen_shannon_divergence
numeric_metric_type: String
Supported metrics type:
- jensen_shannon_divergence
default_categorical_alert_condition: Option<ModelMonitoringAlertCondition>
Default alert condition for all the categorical features.
default_numeric_alert_condition: Option<ModelMonitoringAlertCondition>
Default alert condition for all the numeric features.
feature_alert_conditions: BTreeMap<String, ModelMonitoringAlertCondition>
Per feature alert condition will override default alert condition.
Trait Implementations§
source§impl Clone for DataDriftSpec
impl Clone for DataDriftSpec
source§fn clone(&self) -> DataDriftSpec
fn clone(&self) -> DataDriftSpec
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataDriftSpec
impl Debug for DataDriftSpec
source§impl Default for DataDriftSpec
impl Default for DataDriftSpec
source§impl Message for DataDriftSpec
impl Message for DataDriftSpec
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for DataDriftSpec
impl PartialEq for DataDriftSpec
source§fn eq(&self, other: &DataDriftSpec) -> bool
fn eq(&self, other: &DataDriftSpec) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataDriftSpec
Auto Trait Implementations§
impl Freeze for DataDriftSpec
impl RefUnwindSafe for DataDriftSpec
impl Send for DataDriftSpec
impl Sync for DataDriftSpec
impl Unpin for DataDriftSpec
impl UnwindSafe for DataDriftSpec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request