This function shows the sample documents of the LDA clustering result. To implement the function LDAvis analysis need to be performed.
1 | topicSample(Text, topic, num)
|
Text |
The text data want to analyze |
topic |
The number of topics in LDA analysis |
num |
The number of sample documents want to observe |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.