Welcome to CPFinder 👋
Online changepoint detection for python
🏠 Homepage
✨ Demo
Install
pip install cpfinder
Usage
python example.py
---
# Import libraries
>> from cpfinder import cpfinder
>> from cpfinder.datasets import generate_normal_time_series
# Example data
>> data = generate_normal_time_series(3)
# Changepoint Detection
>> detector = cpfinder(data=data, method="bocpd")
>> detector.fit(animationFlag=True, interval=100, plotFlag=False)
>> print(detector.changepoints)
'''
[171, 1538]
'''
# You can save animation as gif
>> detector.saveAnimationVideo("assets/animation.gif")
Run tests
python tests
Author
👤 I.Onur Serbetci
- Website: kaggle.com/onurserbetci
- Twitter: @iboraham
- Github: @iboraham
- LinkedIn: @ionur-serbetci
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2021 I.Onur Serbetci.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator
Metadata
Release files for cpfinder 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cpfinder-0.2.1.tar.gz | 12.6 kB | Without provenance | Details for cpfinder-0.2.1.tar.gz |
Release files / cpfinder-0.2.1.tar.gz
| Download URL | cpfinder-0.2.1.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91a2c657a8cc246adbbcb2095dba0599ebef29fa8a857cd579fd4baee0625660
|
|
BLAKE2b-256 checksum How to use checksums |
2ae98e999f803b0cf8e0471fbc2d1056cc33890061de4615a076b11d05ac5927
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.9
|
Security for cpfinder 0.2.1
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.