This implements the Gibbs-EM algorithm for LDA that is mentioned in the paper Topic Modeling: Beyond Bag-of-Words. Wallach (2006).
1 2 | lda_cgs_em(num_topics, vocab_size, docs_tf, alpha_h, eta_h, em_max_iter,
gibbs_max_iter, burn_in, spacing, verbose)
|
Other MCMC: lda_acgs_st
,
lda_cgs_em_perplexity
,
lda_cgs_perplexity
,
lda_fgs_BF_perplexity
,
lda_fgs_perplexity
,
lda_fgs_ppc
,
lda_fgs_st_perplexity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.