Skip to content

smadan20/828U-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 

Repository files navigation

Build Status Build Status Coverage Status

Tensor LDA

tensor-lda is a LDA (Latent Dirichlet Allocation) implementation that use tensor decomposition method to estimate LDA parameters. It follows scikit-learn's API and can be used as scikit-learn's extension.

HTML Documentation - https://chyikwei.github.io/tensor-lda/

Install:

# clone repoisitory
git clone git@github.com:chyikwei/tensor-lda.git
cd tensor-lda

# install numpy & scipy
pip install -r requirements.txt
pip install .

Example:

The usage is the same as scikit-learn's LDA model.

Here is an example that extract topics from 20 news grooup dataset.

Running Test:

python setup.py test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published