Skip to main content

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.

Metadata

Release files for ocpdet 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ocpdet 0.0.6
File Size Uploaded Provenance Actions
ocpdet-0.0.6.tar.gz 9.0 kB Without provenance Details for ocpdet-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ocpdet 0.0.6
File Interpreter ABI Platform Actions
ocpdet-0.0.6-py3-none-any.whl Python 3 none any Details for ocpdet-0.0.6-py3-none-any.whl

Total release size: 19.2 kB

Release files / ocpdet-0.0.6.tar.gz

Download URL ocpdet-0.0.6.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7e5b64c0cdb4edd598035aedfb76a720cef9fcd6f80ddc8965820223033bbb11
BLAKE2b-256 checksum
How to use checksums
3ac53f3f719e38ac3b7b34e75781a2b8906287a5a96e3f1d1d88a647dd838c0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.10

Release files / ocpdet-0.0.6-py3-none-any.whl

Download URL ocpdet-0.0.6-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a278f772cdfff0e8c2e6d278a35435461545c06f6f1c370187df212081911c1
BLAKE2b-256 checksum
How to use checksums
74ae43bc5f73b709b1e0e30de83695e9aa68b9fbee5d9e9c286346224d692ec9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.10

Security for ocpdet 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page