Skip to main content

Topic modeling via sum-to-one constrained Poisson non-negative matrix factorization

Project description

tinytopics

PyPI version License Python versions

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)

Uploaded Source

Built Distribution

tinytopics-0.1.0-py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 3

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