2017-01-30 71 views

回答

7

pyLDAvis.save_html應該工作:

p = pyLDAvis.gensim.prepare(topic_model, corpus, dictionary) 
pyLDAvis.save_html(p, 'lda.html') 
+0

它的工作。沒想到這麼簡單:)非常感謝。 – Darius