Gensim结果不一致

时间:2019-05-25 12:22:47

标签: python gensim lda topic-modeling

我曾在Gensim库中使用LDA进行主题建模,工作正常,但每次运行的结果都不相同?

结果首次运行:
 (6,'0.048 *“ python” + 0.026 *“图像” + 0.025 *“文件” + 0.019 *“代码” + 0.019 *“ try”),  (58,'0.115 *“ class” + 0.058 *“ python” + 0.045 *“ solve” + 0.037 *“ method” + 0.036 *“ problem”) 结果第二次运行: (75,'0.091 *“ regex” + 0.090 *“ python” + 0.046 *“ string” + 0.027 *“字符” + 0.026 *“列表”), (4,'0.116 *“ list” + 0.068 *“ python” + 0.067 *“ value” + 0.034 *“ dictionary” + 0.025 *“ loop”)

0 个答案:

没有答案
相关问题