Skip to main content

ChangePointDetector

Trait ChangePointDetector 

Source
pub trait ChangePointDetector {
    // Required methods
    fn name(&self) -> &'static str;
    fn detect(&self, series: &[(f64, f64)]) -> Vec<f64>;
}
Expand description

A detector operates on an ordered univariate (t, value) series and reports change-point timestamps. Implementations must be deterministic for a given input — the whole bake-off is pinned to byte-identical CSVs, so any randomness kills the replay guarantee.

Required Methods§

Source

fn name(&self) -> &'static str

Short kebab-case label embedded in CSV rows.

Source

fn detect(&self, series: &[(f64, f64)]) -> Vec<f64>

Implementors§