Skip to main content

A Python package for online changepoint detection, implementing state-of-the-art algorithms and a novel approach.

Project description

ocpdet

OCPDet is an open-source Python package for online changepoint detection, implementing state-of-the-art algorithms and a novel approach, using a scikit-learn style API.

PyPI DOI

This package is the outcome of my Master Thesis at Imperial College London within the MSc in Statistics, Department of Mathematics.

Algorithms implemented in ocpdet are

  • CUSUM: Cumulative Sum algorithm, proposed by Page (1954)
  • EWMA: Exponentially Weighted Moving Average algorithm, proposed by Roberts (1959)
  • Two Sample tests: Nonparametric hypothesis testing for changepoint detection, proposed by Ross et al. (2011)
  • Neural Networks: Novel approach based on sequentially learning neural networks, proposed by Hushchyn et al. (2020) and extended to online context (Master Thesis)

Installation

pip install ocpdet

Examples

How to cite this work

Here is a suggestion to cite this GitHub repository:

Victor Khamesi. (2022). ocpdet: A Python package for online changepoint detection in univariate and multivariate data. (Version v0.0.5). Zenodo. https://doi.org/10.5281/zenodo.7632721

And a possible BibTeX entry:

@software{victor_khamesi_2022,
  author       = {Victor Khamesi},
  title        = {ocpdet: A Python package for online changepoint detection in univariate and multivariate data.},
  month        = oct,
  year         = 2022,
  publisher    = {Zenodo},
  version      = {v0.0.5},
  doi          = {10.5281/zenodo.7632721},
  url          = {https://doi.org/10.5281/zenodo.7632721}
}

License

The non-software content of this project is licensed under a Creative Commons Attribution 4.0 International License, and the software code is licensed under the BSD-2 Clause license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ocpdet-0.0.6.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

ocpdet-0.0.6-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file ocpdet-0.0.6.tar.gz.

File metadata

  • Download URL: ocpdet-0.0.6.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.10

File hashes

Hashes for ocpdet-0.0.6.tar.gz
Algorithm Hash digest
SHA256 7e5b64c0cdb4edd598035aedfb76a720cef9fcd6f80ddc8965820223033bbb11
MD5 2d5d25962da7904d09bc82d69bae1aa4
BLAKE2b-256 3ac53f3f719e38ac3b7b34e75781a2b8906287a5a96e3f1d1d88a647dd838c0c

See more details on using hashes here.

File details

Details for the file ocpdet-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: ocpdet-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.10

File hashes

Hashes for ocpdet-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6a278f772cdfff0e8c2e6d278a35435461545c06f6f1c370187df212081911c1
MD5 886937614cb5411696647348ff7c1c61
BLAKE2b-256 74ae43bc5f73b709b1e0e30de83695e9aa68b9fbee5d9e9c286346224d692ec9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page