Chchanges
Bayesian Online Changepoint Detection
Install / Use
npx skills add projectaligned/chchangesInstalls into whichever agent you are using.
README
chchanges
Detect statistically meaningful changes in streams of data via online changepoint detection.
Available as a package on pypi.
pip install chchanges
For example, we can detect changes in a stream of normally distributed data, where the mean of the distribution is piecewise constant:
The stream of data

The evolving posterior distribution

The probability that a changepoint was detected

To generate these figures, experiment with chchanges/demos/mean.py
Contributing
- By adding other Posterior distributions and Hazard functions, you can fine-tune chchanges for your specific application.
- E.g. a Multivariate Student's T posterior would enable detecting changes in the correlation of multivariate data.
- Please contribute and expand the range of chchanges uses.
References:
- Ryan P. Adams, David J.C. MacKay, "Bayesian Online Changepoint Detection" (2007)
- Byrd, M Gentry et al. “Lagged Exact Bayesian Online Changepoint Detection with Parameter Estimation” (2017)
Other software implementations:
- https://github.com/dtolpin/bocd Particularly indebted to this implementation.
- https://github.com/hildensia/bayesian_changepoint_detection
- https://github.com/lnghiemum/LEXO
"turn and face the strange" - David Bowie
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.6kCommit, push, and open a PR
