我在 vscode 中运行 jupyter notebook。 我已经使用 gensim 构建了我的 LDA 模型,但是当我想可视化它时,它什么也没显示。
我的密码是:
import pyLDAvis
import pyLDAvis.gensim_models
pyLDAvis.enable_notebook(local=True)
vis = pyLDAvis.gensim_models.prepare(lda_model, corpus, id2word)
vis
我试过pyLDAvis的显示方法也没用
我期待一些这样的情节和图表address