#time-series #detection #time-series-analysis #bayesian #online #point #changepoint

augurs-changepoint

Changepoint detection using Bayesian Online Change Point Detection and more

20 releases (7 breaking)

new 0.8.1 Jan 7, 2025
0.8.0 Dec 23, 2024
0.7.0 Nov 25, 2024
0.3.1 Jul 30, 2024

#421 in Machine learning

Download history 11/week @ 2024-09-20 7/week @ 2024-09-27 4/week @ 2024-10-04 388/week @ 2024-10-11 481/week @ 2024-10-18 396/week @ 2024-10-25 75/week @ 2024-11-01 337/week @ 2024-11-08 162/week @ 2024-11-15 206/week @ 2024-11-22 26/week @ 2024-11-29 23/week @ 2024-12-06 11/week @ 2024-12-13 130/week @ 2024-12-20 17/week @ 2024-12-27 74/week @ 2025-01-03

243 downloads per month
Used in augurs

MIT/Apache

22KB
349 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

~15MB
~262K SLoC