lda-package | R Documentation |
Implements latent Dirichlet allocation (LDA) and related models. This includes (but is not limited to) sLDA, corrLDA, and the mixed-membership stochastic blockmodel. Inference for all of these models is implemented via a fast collapsed Gibbs sampler written in C. Utility functions for reading/writing data typically used in topic models, as well as tools for examining posterior distributions are also included.
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
Jonathan Chang
Maintainer: Santiago Olivella <olivella@unc.edu>
Special thanks to the following for their reports and comments: Edo Airoldi, Jordan Boyd-Graber, Christopher E. Cramer, Andrew Dai, James Danowski, Khalid El-Arini, Roger Levy, Solomon Messing, Joerg Reichardt, Dmitriy Selivanov
Blei, David M. and Ng, Andrew and Jordan, Michael. Latent Dirichlet allocation. Journal of Machine Learning Research, 2003.
Functions to fit models:
lda.collapsed.gibbs.sampler
slda.em
mmsb.collapsed.gibbs.sampler
nubbi.collapsed.gibbs.sampler
rtm.collapsed.gibbs.sampler
Functions to read/create corpora:
lexicalize
read.documents
read.vocab
Functions to manipulate corpora:
concatenate.documents
filter.words
shift.word.indices
links.as.edgelist
Functions to compute summary statistics on corpora:
word.counts
document.lengths
Functions which use the output of fitted models:
predictive.distribution
top.topic.words
top.topic.documents
predictive.link.probability
Included data sets:
cora
poliblog
sampson
## See demos for the following three common use cases:
## Not run: demo(lda)
## Not run: demo(slda)
## Not run: demo(mmsb)
## Not run: demo(rtm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.