This release is a pre-release and may not be stable for production use.
time-series-nmf
time-series-nmf is a Python package implementing non-negative matrix factorization for time series data. Currently, it supports a version with Tikhonov regularization and sparse constraints as proposed by Fabregat R.. et. al. and implemented in Matlab in https://github.com/raimon-fa/palm-nmf. It uses a PALM optimization scheme. We plan to add other models and optimization algorithms.
This work is under continuous development.
Installation:
# from github (latest)
pip install git+https://github.com/valentina-s/time-series-nmf
# from pypi (stable)
pip install time-series-nmf
Getting started:
import tsnmf
# generate some data
from numpy.random import rand
data = rand(100,1000)
# fit time series nmf to data
model = tsnmf.smoothNMF(n_components=5)
model.fit(data)
# outputs
model.W
model.H
Acknowledgements
This work has been supported by NSF award #1849930 and the Gordon and Betty Moore and Alfred P. Sloan Foundations Data Science Environments grant (MSDSE).
Metadata
Release files for time-series-nmf 0.1.0.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| time_series_nmf-0.1.0.dev0-py3-none-any.whl | Python 3 | none | any | Details for time_series_nmf-0.1.0.dev0-py3-none-any.whl |
Release files / time_series_nmf-0.1.0.dev0-py3-none-any.whl
| Download URL | time_series_nmf-0.1.0.dev0-py3-none-any.whl |
|---|---|
| Size | 8.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12e19091898863dfaf442b80c263ccf5e9f58474c37537011ac064558ba74ad3
|
|
BLAKE2b-256 checksum How to use checksums |
18acd07508a7d62714ffb97c034839acd3b8a33c476947346a3932a628a5e803
|
| 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/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.6.10
|
Security for time-series-nmf 0.1.0.dev0
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.