diff --git a/notebooks/Gensim Newsgroup.ipynb b/notebooks/Gensim Newsgroup.ipynb index 2282381e..995734b4 100644 --- a/notebooks/Gensim Newsgroup.ipynb +++ b/notebooks/Gensim Newsgroup.ipynb @@ -36,7 +36,7 @@ " rm 20news-bydate.tar.gz\n", "fi\n", "echo \"Lets take a look at the groups...\"\n", - "ls 20news-bydate-train/\n", + "!ls 20news-bydate-train/\n", "popd" ] }, @@ -60,7 +60,7 @@ "metadata": {}, "outputs": [], "source": [ - "ls -lah data/20news-bydate-train/sci.space | tail -n 5" + "!ls -lah data/20news-bydate-train/sci.space | tail -n 5" ] }, { @@ -76,7 +76,7 @@ "metadata": {}, "outputs": [], "source": [ - "!head data/20news-bydate-train/sci.space/61422 -n 20" + "!head data/20news-bydate-train/sci.space/61422" ] }, { @@ -225,7 +225,7 @@ "metadata": {}, "outputs": [], "source": [ - "import pyLDAvis.gensim as gensimvis\n", + "import pyLDAvis.gensim_models as gensimvis\n", "import pyLDAvis" ] }, diff --git a/notebooks/pyLDAvis_overview.ipynb b/notebooks/pyLDAvis_overview.ipynb index 248bf79c..b67b9773 100644 --- a/notebooks/pyLDAvis_overview.ipynb +++ b/notebooks/pyLDAvis_overview.ipynb @@ -994,9 +994,9 @@ } ], "source": [ - "import pyLDAvis.gensim\n", + "import pyLDAvis.gensim_models as gensimvis\n", "\n", - "pyLDAvis.gensim.prepare(lda, corpus, dictionary)" + "pyLDAvis.gensimvis.prepare(lda, corpus, dictionary)" ] }, {