8000 GitHub - fancysimon/lda-python: LDA in python
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fancysimon/lda-python

Repository files navigation

LDA in python

AUTHOR: Chao Xiong fancysimon@gmail.com

使用

单机版LDA

python lda.py -a 0.01 -b 0.1 -k 2 --train_name=train2.txt --compute_likelihood
		--total_iterations=100 --burn_in_iterations=70

分布式LDA

安装MPI和python环境

mpiexec -n 2 -hosts "192.168.1.2,192.168.1.3" python mpi_lda.py -a 0.01 -b 0.1
		--train_name=train2.txt --compute_likelihood --total_iterations=100
		--burn_in_iterations=70

TODO

  1. Check point for mpi.
  2. Comment.
  3. Asymmetric alpha(document topic distribution prior).
  4. Accumulative model for MPI.

About

LDA in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0