doc_topics | R Documentation |
Extracts the matrix from a mallet_model
model with documents in rows and
topic weights in columns. The document order is the same as the ordering of
the documents supplied to MALLET.
doc_topics(m)
m |
a |
The expectation throughout dfrtopics
is that we keep unnormalized and
unsmoothed weights as the "raw" form of the model; this is not strictly
correct, it is easier to reason about and to do post-hoc calculations with.
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.