I am trying to calculate the perplexity score in Spyder for different numbers of topics in order to find the best model parameters with gensim.
However, the perplexity sc