pub struct SrPoint {
pub index: usize,
pub value: f64,
pub saliency: f64,
pub score: f64,
pub expected: f64,
pub lower: f64,
pub upper: f64,
pub is_anomaly: bool,
}Expand description
One scored point.
Fields§
§index: usizePosition in the input series.
value: f64The observed value.
saliency: f64Spectral residual saliency of the point (≥ 0).
score: f64Saliency relative to the preceding judgement window (≥ 0).
expected: f64Low-frequency reconstruction of the series with anomalies removed.
lower: f64expected − margin.
upper: f64expected + margin.
is_anomaly: boolscore > threshold and the value clears the z-score gate.
Trait Implementations§
impl StructuralPartialEq for SrPoint
Auto Trait Implementations§
impl Freeze for SrPoint
impl RefUnwindSafe for SrPoint
impl Send for SrPoint
impl Sync for SrPoint
impl Unpin for SrPoint
impl UnsafeUnpin for SrPoint
impl UnwindSafe for SrPoint
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