pub struct AdwinConfig {
pub delta: f64,
pub warning_delta: f64,
pub max_window: usize,
pub min_samples: u64,
}Expand description
Configuration for Adwin.
Fields§
§delta: f64Significance level for drift detection. Must be in (0, 1).
Smaller values reduce false positives. Defaults to 0.002.
warning_delta: f64Significance level for warnings. Must be in (0, 1) and
greater than or equal to delta. Defaults to 0.01.
max_window: usizeMaximum window size (number of stored observations). Must be > 0.
Larger values improve detection sensitivity but increase memory
and computation. Defaults to 1000.
min_samples: u64Minimum number of samples before any detection is attempted.
Must be greater than zero. Defaults to 10.
Trait Implementations§
Source§impl Clone for AdwinConfig
impl Clone for AdwinConfig
Source§fn clone(&self) -> AdwinConfig
fn clone(&self) -> AdwinConfig
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 AdwinConfig
impl Debug for AdwinConfig
Auto Trait Implementations§
impl Freeze for AdwinConfig
impl RefUnwindSafe for AdwinConfig
impl Send for AdwinConfig
impl Sync for AdwinConfig
impl Unpin for AdwinConfig
impl UnsafeUnpin for AdwinConfig
impl UnwindSafe for AdwinConfig
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