pub struct PerFeatureCusumConfig {
pub slack: f64,
pub threshold: f64,
}Expand description
Hyper-parameters for PerFeatureCusum.
Fields§
§slack: f64Slack k — allowable drift before accumulation starts.
Typical 0.5·σ of the reference signal.
threshold: f64Threshold h — cumulative sum at which an alert fires.
Typical 4·σ of the reference signal.
Trait Implementations§
Source§impl Clone for PerFeatureCusumConfig
impl Clone for PerFeatureCusumConfig
Source§fn clone(&self) -> PerFeatureCusumConfig
fn clone(&self) -> PerFeatureCusumConfig
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 PerFeatureCusumConfig
impl Debug for PerFeatureCusumConfig
Source§impl Default for PerFeatureCusumConfig
impl Default for PerFeatureCusumConfig
Source§impl<'de> Deserialize<'de> for PerFeatureCusumConfig
impl<'de> Deserialize<'de> for PerFeatureCusumConfig
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
Source§impl PartialEq for PerFeatureCusumConfig
impl PartialEq for PerFeatureCusumConfig
Source§impl Serialize for PerFeatureCusumConfig
impl Serialize for PerFeatureCusumConfig
impl Copy for PerFeatureCusumConfig
impl StructuralPartialEq for PerFeatureCusumConfig
Auto Trait Implementations§
impl Freeze for PerFeatureCusumConfig
impl RefUnwindSafe for PerFeatureCusumConfig
impl Send for PerFeatureCusumConfig
impl Sync for PerFeatureCusumConfig
impl Unpin for PerFeatureCusumConfig
impl UnsafeUnpin for PerFeatureCusumConfig
impl UnwindSafe for PerFeatureCusumConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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