Join us on July 16th as we explore real-world Reinforcement Learning Learn more

Predefined code Notebooks Python Topic modeling

Level 1
Predefined code Notebooks Python Topic modeling

Hello,



I'm trying to use the Predefined code in python 2.7 but whe I run the Setup and dataset loading code , I see an error

No module named pyLDAvis.sklearn ,

Do you know how to solve this?

Thanks



 



 



Setup and dataset loading 



First of all, let's load the libraries that we'll use.



This notebook requires the installation of the pyLDAvis package. See here for help with intalling python packages.



In [1]:




























Populating the interactive namespace from numpy and matplotlib



ImportErrorTraceback (most recent call last)
<ipython-input-1-f0e756363047> in <module>()
9
10 from sklearn.decomposition import LatentDirichletAllocation,NMF
---> 11 import pyLDAvis.sklearn
12 pyLDAvis.enable_notebook()

ImportError: No module named pyLDAvis.sklearn
0 Kudos
0 Replies
Labels (1)