Skip to main content

A set of matrix decomposition algorithms implemented as PyTorch classes

Project description

DOI PyPI version GitHub Actions

PyTorchDecomp

A set of matrix decomposition algorithms implemented as PyTorch classes

Installation

Because PyTorchDecomp is a PyPI package, please install it by pip command as follows:

python -m venv env
pip install torchdecomp

For the other OS-specific or package-manager-specific installation, please check the README.md of PyTorch.

Usage

See the tutorials.

References

  • LU/QR/Cholesky/Eigenvalue Decomposition
    • Gene H. Golub, Charles F. Van Loan Matrix Computations (Johns Hopkins Studies in the Mathematical Sciences)
  • Principal Component Analysis (PCA) / Partial Least Squares (PLS)
    • R. Arora, A. Cotter, K. Livescu and N. Srebro, Stochastic optimization for PCA and PLS, 2012 50th Annual Allerton Conference on Communication, Control, and Computing, 2012, 861-868. 2012
  • Independent Component Analysis (ICA)
    • Hybarinen, A. and Oja, E. Independent component analysis: algorithms and applications, Neural Networks, 13, 411-430. 2000
  • Deep Deterministic ICA (DDICA)
    • H. Li, S. Yu and J. C. Príncipe, Deep Deterministic Independent Component Analysis for Hyperspectral Unmixing, 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 3878-3882, 2022
  • Non-negative Matrix Factorization (NMF)
    • Kimura, K. A Study on Efficient Algorithms for Nonnegative Matrix/Tensor Factorization, Ph.D. Thesis, 2017
    • Exponent term depending on Beta parameter
      • Nakano, M. et al., Convergence-guaranteed multiplicative algorithms for nonnegative matrix factorization with Beta-divergence. IEEE MLSP, 283-288, 2010
    • Beta-divergence NMF and Backpropagation

Contributing

If you have suggestions for how PyTorchDecomp could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

PyTorchDecomp has a MIT license, as found in the LICENSE file.

Authors

  • Koki Tsuyuzaki

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torchdecomp-1.3.3.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

torchdecomp-1.3.3-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file torchdecomp-1.3.3.tar.gz.

File metadata

  • Download URL: torchdecomp-1.3.3.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.14 Linux/5.15.0-91-generic

File hashes

Hashes for torchdecomp-1.3.3.tar.gz
Algorithm Hash digest
SHA256 12b2e105cfb5580b073f4b099ab8ad4a5ef6f32f72992a246575b989deeafcd4
MD5 10fd5f65ba9b6da92b027e792aa8a68f
BLAKE2b-256 0be7b6ea7473026433bf255797e8552b4ca3989c922ecfc6385313cbbd5905de

See more details on using hashes here.

File details

Details for the file torchdecomp-1.3.3-py3-none-any.whl.

File metadata

  • Download URL: torchdecomp-1.3.3-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.14 Linux/5.15.0-91-generic

File hashes

Hashes for torchdecomp-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5ad189b5629b3e5d1a3ed5bf27d7560b06d76eae1a4c4f2249acaad59b8d9018
MD5 7aa21d7068fcd58e8e4ab5035ec1abda
BLAKE2b-256 3ad8ddda5bd3adab4353589207917dc924bee6c863d1366f49de0deb9d161907

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page