Skip to content

Commit

Permalink
import pyLDAvis.gensim_models as gensimvis
Browse files Browse the repository at this point in the history
  • Loading branch information
msusol committed Mar 24, 2021
1 parent a9a5a31 commit dfdf930
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions notebooks/Gensim Newsgroup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
Expand All @@ -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"
]
},
{
Expand All @@ -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"
]
},
{
Expand Down Expand Up @@ -225,7 +225,7 @@
"metadata": {},
"outputs": [],
"source": [
"import pyLDAvis.gensim as gensimvis\n",
"import pyLDAvis.gensim_models as gensimvis\n",
"import pyLDAvis"
]
},
Expand Down
4 changes: 2 additions & 2 deletions notebooks/pyLDAvis_overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
]
},
{
Expand Down

0 comments on commit dfdf930

Please sign in to comment.