#[non_exhaustive]pub struct AdwinConfig {
pub delta: f64,
pub warning_delta: f64,
pub max_window: usize,
pub min_samples: u64,
}Expand description
Configuration for Adwin.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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