- 5.1 LDA.
cd lda_artif1
python2 data_gen.py
python2 run_experiment.py
python2 post_process.py
# the plot is in data/lls.pdf
- 5.2 LDA. $DIR is one of lda_ll_time, lda_ll_topics, lda_ull_time, lda_ull_topics, lda_p_time, lda_p_topics
cd $DIR
python2 data_gen.py
# change path in the do_pb function in run_experiment.py
python2 run_experiment.py
jupyter notebook post_process.ipynb
# Cell -> Run All
# the plot is in data/lls.pdf
- 5.3 Seed LDA.
cd seed_lda
python2 run_clda.py
# the plots are in data/topic_1.pdf and data/topic_2.pdf
- 5.4 Cluster LDA.
cd cluster_lda
mv data_2 data
python2 data_gen.py
python2 run_experiment.py
jupyter notebook post_proc.ipynb
# Cell -> Run All
# the plot is data/heat_fields.pdf
- 5.5 RIM.
cd rim_ex3
python run_rim3.py
# data/table.tex should look similar to Table 1 in the paper
- ex1
cd lda_ex1
python run_lda1.py
# data/lls.pdf should look similar to Figure 3 in the paper
- ex2
cd rim_ex3
python run_rim3.py
# data/table.tex should look similar to Table 1 in the paper
- ex3
cd lda_ex2
python run_lda2.py
# data/lls.pdf should look similar to Figure 4 in the paper