A set of matrix and tensor decomposition models implemented as PyTorch classes
Project description
PyTorchDecomp
A set of matrix and tensor decomposition models 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
import torchdecomp as td
import torch
References
- 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
Built Distribution
File details
Details for the file torchdecomp-1.2.0.tar.gz
.
File metadata
- Download URL: torchdecomp-1.2.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.11.7 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7457473b31f1eda93a0d55b4dd1c29a1724a721b39dbb9e8a927ef8545ab861 |
|
MD5 | d1b1425ed39f82813a274b49b05d62e7 |
|
BLAKE2b-256 | 378f8abc1e684f023ee00d37e35a06ce7c0f0c468144b3891a8333a2602ee0fc |
File details
Details for the file torchdecomp-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: torchdecomp-1.2.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.11.7 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94d72fabe63f42a7e9da0e94609240914cd4f68f21e5b3b4453a75b0482d01d8 |
|
MD5 | 9653f4959c6c90f80089d88ab65815e6 |
|
BLAKE2b-256 | 816954ac2651650f305f92a5fbf1d0f0b9ef42a7e7864ca7d71a789d6dfc0b2d |