Nils_Denter
Nils_Denter

Reputation: 498

Evaluation of Dynamic Topic Models

I try to evaluate my dynamic topic models. The model were generated with the gensim wrappers. Are there any possible functions like perplexity or topic coherence equal to the "normal" topic modeling?

Upvotes: 1

Views: 371

Answers (1)

Sara
Sara

Reputation: 1212

Yeah there is topic coherence and perplexity for Gensim Wrapper:

# Compute Coherence Score
coherence_model_ldamallet = CoherenceModel(model=ldamallet, texts=processed_docs, dictionary=dictionary, coherence='c_v')
coherence_ldamallet = coherence_model_ldamallet.get_coherence()
print('\nCoherence Score: ', coherence_ldamallet)

You can check out this article for more information: 14

I hope this helps :)

Upvotes: 1

Related Questions