In [ ]:
import pickle
ldamodel = pickle.load(open("ldamodel.p", "rb"))
corpus = pickle.load(open("corpus.p", "rb"))
dictionary = pickle.load(open("dictionary.p", "rb"))
In [ ]:
import pyLDAvis.gensim
pyLDAvis.disable_notebook()
In [ ]:
p = pyLDAvis.gensim.prepare(ldamodel, corpus, dictionary)
pyLDAvis.save_html(p, 'lda.html')
In [ ]: