pub struct LearningDriftDetector { /* private fields */ }Implementations§
Source§impl LearningDriftDetector
impl LearningDriftDetector
pub fn new(drift_threshold: f64, window_size: usize) -> Self
pub fn set_baseline(&mut self, metric: &str, value: f64)
pub fn record(&mut self, metric: &str, value: f64)
pub fn check_drift(&self, metric: &str) -> Option<DriftMetric>
pub fn check_all_drifts(&self) -> Vec<DriftMetric>
pub fn drift_threshold(&self) -> f64
pub fn window_size(&self) -> usize
pub fn metrics(&self) -> Vec<String>
Auto Trait Implementations§
impl Freeze for LearningDriftDetector
impl RefUnwindSafe for LearningDriftDetector
impl Send for LearningDriftDetector
impl Sync for LearningDriftDetector
impl Unpin for LearningDriftDetector
impl UnsafeUnpin for LearningDriftDetector
impl UnwindSafe for LearningDriftDetector
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