Closed perambulate closed 5 years ago
Should this actually not get flat_topics (all of the topics) rather than the first topic only.
cm = CoherenceModel(topics=flat_topics[0], corpus=corpus dictionary=dictionary, coherence='u_mass')
Otherwise try CoherenceModel(topics=[flat_topics[0]]
@desthalia Could you please use a public corpus to reproduce the problem? Without access to your data, we cannot reproduce your problem on our side.
Closing due to inactivity
Problem description
I got this bug that didn't happen before. Basically, I want to compute coherence score for each topic I've gathered from different LDA models.
Steps/code/corpus to reproduce
An example of one of the topics:
And I keep getting this error:
Versions
Please provide the output of: