动态主题模型的评估

Evaluation of Dynamic Topic Models

我尝试评估我的动态主题模型。 该模型是使用 gensim 包装器生成的。 是否有任何可能的功能,如困惑度或主题连贯性等同于 "normal" 主题建模?

是的,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)

您可以查看这篇文章了解更多信息:14

希望对您有所帮助:)