topic_words | R Documentation |
Extracts the matrix from a mallet_model
model with topics in rows and word
weights in columns. The word order is the same as that of the vocabulary for
the MALLET InstanceList.
topic_words(m, ...)
m |
a |
The expectation throughout dfrtopics
is that we keep unnormalized and
unsmoothed weights as the "raw" form of the model; it is easier to reason
about and to do post-hoc calculations with, even if not rigorously correct.
It is up to the user to apply normalization and smoothing where appropriate.
a numeric matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.