0
$\begingroup$

enter image description hereI want to fit a LDA model using RStudio, but there are some trouble in the determination of topics number. Perplexity and coherence are suggested to do this work, so first I use LDA and perplexity command to get the perplexity vs number of topics. However, I don't find a function or package to get the coherence in RStudio. topic_coherence command in package "topicdoc" can return coherence of each topic, makes me confused, it is an array not a coherence score.

$\endgroup$
1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.