tsds: Time Series Data Segmentation Algorithm
This is a Python library for time series data segmentation, specifically developed for clinical data. It includes the following components:
- Dimensionality reduction using Non-negative Matrix Factorization (NMF)
- Optimal number of clusters calculation using Silhouette score, Calinski Harabasz score, and Davies Bouldin score.
- Predictive modeling using Multilayer Perceptron (MLP) classifier, Support Vector Machines (SVM), and Random Forest.
- Explanation of cluster groups using SHAP values.
- Analysis and simulation of disease progression using skip grams and Markov chains, with visual representation of group likelihood changes.
Usage
To use the library, simply import it into your project and follow the steps outlined in the components above. Detailed usage instructions and examples can be found in the library's documentation.
Dependencies
The library requires the following dependencies:
- NumPy
- Pandas
- Scikit-learn
- SHAP
- nltk
- Matplotlib (for visual representation)
Contribution
We welcome contributions to this library. If you have any suggestions or bug reports, please create a GitHub issue. If you would like to contribute code, please submit a pull request.
License
This library is available under the GNU General Public License Version 3.
Metadata
Release files for tsds 0.0.4
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 |
|---|---|---|---|---|
| tsds-0.0.4.tar.gz | 20.9 kB | Without provenance | Details for tsds-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tsds-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for tsds-0.0.4-py3-none-any.whl |
Total release size: 42.1 kB
Release files / tsds-0.0.4.tar.gz
| Download URL | tsds-0.0.4.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9e8b0703d634db43e9bd8ed9c24c352928ddc49c84d4e2c2147ff855f4459f1
|
|
BLAKE2b-256 checksum How to use checksums |
b628c4376736f6d3470125362581c296d9f46ca87a62437869291ed7e60ffad1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / tsds-0.0.4-py3-none-any.whl
| Download URL | tsds-0.0.4-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
85324171122d05e9bbcb5902fe07f201f1d6b93a9324675fb2c2dac3e83c31f2
|
|
BLAKE2b-256 checksum How to use checksums |
d2ffb5025e81d6dca6a838f3271c4004f365cbf6c1f3728ae3c860090f1060b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for tsds 0.0.4
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.