Topic modeling via sum-to-one constrained Poisson non-negative matrix factorization
Project description
tinytopics
Topic modeling via sum-to-one constrained Poisson non-negative matrix factorization (NMF), built on PyTorch and runs on both CPUs and GPUs.
Installation
First, install PyTorch. To run on Nvidia GPUs, install a CUDA-enabled version on Linux or Windows.
You can install tinytopics from PyPI:
pip install tinytopics
Or install the development version from GitHub:
git clone https://github.com/nanxstats/tinytopics.git
cd tinytopics
python3 -m pip install -e .
After tinytopics is installed, try the example from the getting started guide or see the speed benchmark.
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
tinytopics-0.1.0.tar.gz
(716.3 kB
view hashes)
Built Distribution
Close
Hashes for tinytopics-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d72fcbaf13063c06cd6f3a25ee54580c5d3b7acc141032d9ae78c653ab66ff8e |
|
MD5 | 1a99d0a4869022e8bcfbc2c89ba7f58e |
|
BLAKE2b-256 | bd6a29ee15de60bb24fe0b122ac5eba918adc609016f31cc69aa3a53ee37b40e |