SkillAgentSearch skills...

Chchanges

Bayesian Online Changepoint Detection

Install / Use

npx skills add projectaligned/chchanges

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Supported Platforms

Universal

README

chchanges

Detect statistically meaningful changes in streams of data via online changepoint detection.

Build Status

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

mean_data_stream

The evolving posterior distribution

mean_posterior_distribution

The probability that a changepoint was detected

mean_changepoint_probability

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:

Other software implementations:


"turn and face the strange" - David Bowie

Related Skills

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated3y ago
Forks2

Languages

Python

Security Score

75/100

Audited on May 20, 2023

No findings