24 releases
| 0.10.2 | Feb 24, 2026 |
|---|---|
| 0.10.1 | Sep 8, 2025 |
| 0.10.0 | May 19, 2025 |
| 0.9.0 | Jan 14, 2025 |
| 0.3.1 | Jul 30, 2024 |
#960 in Machine learning
3,304 downloads per month
Used in augurs
44KB
520 lines
Changepoint detection models
Changepoint detection of time series.
For now it is mostly just a wrapper around the changepoint crate, with
a common Detector trait to allow for more implementations in future.
Example
use augurs::changepoint::{Detector, DefaultArgpcpDetector};
let data = [0.5, 1.0, 0.4, 0.8, 1.5, 0.9, 0.6, 25.3, 20.4, 27.3, 30.0];
let changepoints = DefaultArgpcpDetector::default().detect_changepoints(&data);
// 0 is always included. 6 is the index prior to the changepoint.
assert_eq!(changepoints, vec![0, 6]);
Credits
The bulk of the actual work is done by the changepoint crate.
Dependencies
~22MB
~333K SLoC