| Crates.io | augurs-changepoint |
| lib.rs | augurs-changepoint |
| version | 0.10.1 |
| created_at | 2024-05-21 19:31:41.356085+00 |
| updated_at | 2025-09-08 11:35:48.003656+00 |
| description | Changepoint detection using Bayesian Online Change Point Detection and more. |
| homepage | |
| repository | https://github.com/grafana/augurs |
| max_upload_size | |
| id | 1247138 |
| size | 65,343 |
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.
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]);
The bulk of the actual work is done by the changepoint crate.