Description Usage Arguments Value
Estimate an LDA topic model using the LDA
function
The parameters other than dtm are simply passed to the sampler but provide a workable default.
See the description of that function for more information
1 2 | lda.fit(dtm, method = "Gibbs", K = 50, num.iterations = 500,
alpha = 50/K, eta = 0.01, burnin = 250)
|
dtm |
a document term matrix (e.g. the output of |
K |
the number of clusters |
num.iterations |
the number of iterations |
alpha |
the alpha parameter |
eta |
the eta parameter |
A fitted LDA model (see LDA
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.