Skip to content
forked from leleyu/HybridLDA

Single machine version of LDA*

Notifications You must be signed in to change notification settings

DMALab/HybridLDA

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Single Machine version of LDA*

Compile

cd jni
make 
make jni

cd ..
mvn package

Run Hybrid LDA example

input=data/nips.train
K=1000
V=12420
threadNum=16
iterations=100
split=600
jvmOpts="-Djava.library.path=jni"
java -cp target/hybridlda-1.0-jar-with-dependencies.jar -Xmx1g $jvmOpts lda.parallel.CombineLDASeparate \
	$input $V $K $threadNum $iterations $split

where K is the number of topics, V is the number of word, split is the split point for document length. Documents with length less than split will be sampled by F+LDA while others will be sampled by WarpLDA.

About

Single machine version of LDA*

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 73.0%
  • C++ 26.6%
  • Other 0.4%