【问题标题】:Evaluation of Dynamic Topic Models动态主题模型的评估
【发布时间】:2019-04-24 07:39:07
【问题描述】:

我尝试评估我的动态主题模型。 该模型是使用 gensim 包装器生成的。 是否有任何可能的功能,例如与“正常”主题建模相同的困惑度或主题连贯性?

【问题讨论】:

    标签: gensim evaluation lda


    【解决方案1】:

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

    我希望这会有所帮助:)

    【讨论】:

      猜你喜欢
      • 2013-11-06
      • 1970-01-01
      • 1970-01-01
      • 2023-03-25
      • 2017-03-24
      • 2017-07-25
      • 2020-03-06
      • 2017-04-24
      • 1970-01-01
      相关资源
      最近更新 更多