roufcp - Rough Fuzzy Changepoint Detection
Gradual Change-Point Detection Library based on Rough Fuzzy Changepoint Detection algorithm roufcp.
The package is available in PyPI.
Usage
>> import numpy as np
>> from roufcp import roufCP
>> X = np.concatenate([np.ones(20) * 5, np.zeros(20), np.ones(20) * 10]) + np.random.randn(60)
>> roufCP(delta = 3, w = 3).fit(X, moving_window = 10, k = 2)
Try help(roufCP) for detailed documentation.
roufCP is a class for Rough Fuzzy Changepoint Detection with the following attributes and functions.
-
Attributes
delta:int, The fuzzyness parameter, typically between 5-100w:int, The roughness parameter, typically between 5-100
-
Methods
-
fit_from_regularity_measure(X, regularity_measure, k): fit the data X with help of the regularity measure and output the estimated changepoints -
fit(X, moving_window, method, k): fit the data X with given regularity measures and output the estimated changepoints. The method argument defaults to kstest, available options are;meandiff: Two sample mean differencettest: Two sample t test statistickstest: Two sample Kolmogorov test statisticmannwhitney: Two sample Mann Whitney U statisticanderson-darling: Two sample Anderson Darling test statisticadf: Augmented Dickey Fuller test of stationarity with linear trendkpss: Kwiatkowski–Phillips–Schmidt–Shin (KPSS) test of stationarity with linear trend
-
hypothesis_test(cp_list, cp_entropy, mu, sigma, a_delta): Performs hypothesis testing of the null hypothesis that there is no changepoint in the data, against the alternative that there is changepoint at the specified indices, and outputs the p-value
-
Authors & Contributors
- Subhrajyoty Roy - https://subroy13.github.io/
- Ritwik Bhaduri - https://github.com/Ritwik-Bhaduri
- Sankar Kumar Pal - https://www.isical.ac.in/~sankar/
License
This code is licensed under MIT License.
Metadata
Release files for roufcp 0.1.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 |
|---|---|---|---|---|
| roufcp-0.1.1.tar.gz | 7.2 kB | Without provenance | Details for roufcp-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| roufcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for roufcp-0.1.1-py3-none-any.whl |
Total release size: 15.1 kB
Release files / roufcp-0.1.1.tar.gz
| Download URL | roufcp-0.1.1.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd88a9622195b71c67bd2fd19e09f5bd71cab7b28e0411de4b43546e5db6a027
|
|
BLAKE2b-256 checksum How to use checksums |
3a2691975503759e334cc02ede9636a9e1e7a7ae0ed08d9abea6d4d72bee5a67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|
Release files / roufcp-0.1.1-py3-none-any.whl
| Download URL | roufcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
272956eac4340c8c20cbfae92867166531508eb38c93a2b010574cbd4df14549
|
|
BLAKE2b-256 checksum How to use checksums |
b05fb1b9ebafe65ac9a3ea1d141a5bf1e333e98dec170d1857e95dd76a50e35f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|
Security for roufcp 0.1.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.