Multiple breakpoint detection toolkit.
Project description
Multi-ruptures
Features
🔥 A powerful Python library for multiple change point detection with:
- High-performance implementation of rupture detection algorithms
- Support for multiple data types (time series, signals, sequences)
- Easy-to-use API for both beginners and advanced users
- Comprehensive visualization tools
- Extensive documentation and examples
🚀 Quick Start
Note: Requires Python 3.8+
- Install via pip:
pip install multi-ruptures
- Basic usage:
import multi_ruptures as mr
# Load your data
signal = ...
# Detect change points
algo = mr.Pelt()
change_points = algo.fit_predict(signal)
📊 Examples
# Example with visualization
import multi_ruptures as mr
import matplotlib.pyplot as plt
# Generate sample signal
signal = mr.datasets.generate_random_peaks(n_samples=1000)
# Detect ruptures
algo = mr.Pelt(model="rbf", min_size=5)
change_points = algo.fit_predict(signal)
# Display results
mr.display(signal, change_points)
plt.show()
🛠️ Development
For development setup:
- Clone the repository
- Install development dependencies:
make install-dev
🧪 Testing
Run tests with:
make test
📚 Documentation
Full documentation is available at docs/.
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file multi_ruptures-0.1.1.tar.gz.
File metadata
- Download URL: multi_ruptures-0.1.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.2 Darwin/24.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a91abc52cfff6e9628fa4b57234694b848b0793995073f034a1ced2f46528813
|
|
| MD5 |
cee5b15d969c22cd787434c0af642802
|
|
| BLAKE2b-256 |
856282508c194182cc81a4770fc96df4646796fe0a758a8e2b41ac577744fdbf
|
File details
Details for the file multi_ruptures-0.1.1-py3-none-any.whl.
File metadata
- Download URL: multi_ruptures-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.2 Darwin/24.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cadb7ec927cfb699d5842ff54669a72cb84ec588446274d91d9798b051f383b4
|
|
| MD5 |
8a41f70faeaa7cc897028468fa47c987
|
|
| BLAKE2b-256 |
7a81ae2d37b67c406f48144456c49e13c2a58edc47bab06de207ded7ae149e9f
|