Perplexity is a measurement of how well a probability distribution or probability model predicts a sample.
I try to find the optimal number of topics using LDA model of sklearn. To do this I calculate perplexity …
python scikit-learn topic-modeling perplexity