Description Usage Arguments Value Author(s) Examples
Tune a specified range of numbers, find the optimal number of topics based on some criterion measures ("Griffiths2004", "CaoJuan2009", "Arun2010", "Deveaud2014")
1 2 |
df |
The document-term data_frame output from create_DTM |
k_range |
A vector of integers specifying the range of number of topics |
seed_num |
An integer specifying the random seed in the algorithm |
mc.cores |
An integer specifying how many cores to use for computing. Default to 4 |
verbose |
A logical specifying whether to display the progress when the algorith is running. Default to TRUE |
q |
A numeric specifying the quantile of tf-idf to remove words. If default to NULL, then don't remove |
A list of matrix reporting the criterion measure for each number, the optimal number based on Griffiths2004, the optimal number based on CaoJuan2009, the optimal number based on Arun2010, the optimal number based on Deveaud2014, and the plot of the measure matrix
Jiacheng He
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.