Skip to main content

ClaSP - Time Series Segmentation

Installation

You can also install the project from source.

Build from Source

First, download the repository.

git clone https://github.com/patrickzib/clasp_segmentation.git

Change into the directory and build the package from source.

pip install .

Example Code

from clasp.annotation.clasp import ClaSPSegmentation, find_dominant_window_sizes
X = ... # load dataset
dominant_period_size = find_dominant_window_sizes(X) * 2
clasp = ClaSPSegmentation(dominant_period_size, n_cps=1)
found_cps = clasp.fit_predict(X)
profiles = clasp.profiles
scores = clasp.scores

See also the notebooks-folder for a Jupyter-Notebook

Citing

If you use this algorithm or publication, please cite:

@inproceedings{clasp2021,
  title={ClaSP - Time Series Segmentation},
  author={Sch"afer, Patrick and Ermshaus, Arik and Leser, Ulf},
  booktitle={CIKM},
  year={2021}
}

Metadata

Release files for clasp-segmentation 0.1.1

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

Source distribution (sdist)

Source distribution for clasp-segmentation 0.1.1
File Size Uploaded Provenance Actions
clasp-segmentation-0.1.1.tar.gz 756.2 kB Without provenance Details for clasp-segmentation-0.1.1.tar.gz

Release files / clasp-segmentation-0.1.1.tar.gz

Download URL clasp-segmentation-0.1.1.tar.gz
Size 756.2 kB
Tags Source
SHA-256 checksum
How to use checksums
130d48ad0b8af1525764f53a75c327a8351960b7436df65b34d9ecf3eaf33d71
BLAKE2b-256 checksum
How to use checksums
5cc932191ffb0398b467446a315af4a89b89de2145f55b14a93fa03fd01e4351
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Security for clasp-segmentation 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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