【发布时间】:2020-11-04 16:51:37
【问题描述】:
需要有关要在 pyLDAvis 中显示的主要组件的帮助。它默认显示 PC1 和 PC2,但我也有兴趣探索其他组件。
我提到了这个documentation,但指定的选项plot_opts={'xlab': 'PC1', 'ylab': 'PC2'}只改变了情节标签。
我正在通过 gensim 使用 pyLDAvis:
pyLDAvis.enable_notebook()
vis = pyLDAvis.gensim.prepare(lda_model, corpus, id2word)
【问题讨论】:
标签: python-3.x gensim lda topic-modeling pyldavis