This function returns a matrix with one row for every topic and one column for every word in the vocabulary.
1 | mallet.topic.words(topic.model, normalized, smoothed)
|
topic.model |
The model returned by |
normalized |
If true, normalize the rows so that each topic sums to one. If false, values will be integers (possibly plus the smoothing constant) representing the actual number of words of each type in the topics. |
smoothed |
If true, add the smoothing parameter for the model (initial value specified as |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.