anomaly_detection 0.4.0

Time series anomaly detection for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use alloc::vec::Vec;

/// An anomaly detection result.
#[derive(Clone, Debug)]
pub struct AnomalyDetectionResult {
    pub(crate) anomalies: Vec<usize>,
}

impl AnomalyDetectionResult {
    /// Returns the anomalies.
    pub fn anomalies(&self) -> &[usize] {
        &self.anomalies
    }
}