pub struct SpotConfig {
pub q: f64,
pub low_tail: bool,
pub discard_anomalies: bool,
pub level: f64,
pub max_excess: usize,
}Expand description
Configuration parameters for SPOT detector
Fields§
§q: f64Anomaly probability threshold (must be between 0 and 1-level)
low_tail: boolWhether to observe lower tail (false = upper tail, true = lower tail)
discard_anomalies: boolWhether to discard anomalies from model updates
level: f64Excess level - high quantile that delimits the tail (must be between 0 and 1)
max_excess: usizeMaximum number of excess data points to keep
Trait Implementations§
Source§impl Clone for SpotConfig
impl Clone for SpotConfig
Source§fn clone(&self) -> SpotConfig
fn clone(&self) -> SpotConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SpotConfig
impl Debug for SpotConfig
Source§impl Default for SpotConfig
impl Default for SpotConfig
Source§impl PartialEq for SpotConfig
impl PartialEq for SpotConfig
impl StructuralPartialEq for SpotConfig
Auto Trait Implementations§
impl Freeze for SpotConfig
impl RefUnwindSafe for SpotConfig
impl Send for SpotConfig
impl Sync for SpotConfig
impl Unpin for SpotConfig
impl UnwindSafe for SpotConfig
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