pub struct DataDriftReport {
pub drift_detected: bool,
pub drift_score: f64,
pub drift_threshold: f64,
pub affected_features: Vec<String>,
pub drift_statistics: HashMap<String, f64>,
pub drift_type: String,
pub detection_method: String,
pub confidence_level: f64,
pub timestamp: String,
}Expand description
Data drift detection result
Fields§
§drift_detected: bool§drift_score: f64§drift_threshold: f64§affected_features: Vec<String>§drift_statistics: HashMap<String, f64>§drift_type: String§detection_method: String§confidence_level: f64§timestamp: StringImplementations§
Source§impl DataDriftReport
impl DataDriftReport
Sourcepub fn add_feature_drift(&mut self, feature_name: String, drift_statistic: f64)
pub fn add_feature_drift(&mut self, feature_name: String, drift_statistic: f64)
Add drift detection for a feature
Sourcepub fn calculate_overall_drift(&mut self)
pub fn calculate_overall_drift(&mut self)
Calculate overall drift score
Trait Implementations§
Source§impl Clone for DataDriftReport
impl Clone for DataDriftReport
Source§fn clone(&self) -> DataDriftReport
fn clone(&self) -> DataDriftReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DataDriftReport
impl Debug for DataDriftReport
Source§impl Default for DataDriftReport
impl Default for DataDriftReport
Source§impl<'de> Deserialize<'de> for DataDriftReport
impl<'de> Deserialize<'de> for DataDriftReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DataDriftReport
impl RefUnwindSafe for DataDriftReport
impl Send for DataDriftReport
impl Sync for DataDriftReport
impl Unpin for DataDriftReport
impl UnsafeUnpin for DataDriftReport
impl UnwindSafe for DataDriftReport
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more