Zhijing Eu
Jan 29, 2022

--

Super article ! For anyone else looking to copy-pasta the code please note that you need to make a change to the last code snippet

pyLDAvis.gensim

has been renamed to

pyLDAvis.gensim_models

Thank you StackOverflow user Hamidreza (https://stackoverflow.com/users/3266253/hamidreza-hosseinkhani) for mentioning this. https://stackoverflow.com/questions/66096149/pyldavis-visualization-from-gensim-not-displaying-the-result-in-google-colab

Was pulling my hair out as couldn't understand why it wasn't working.

(NB : I am running pyLDAvis 3.3.1 on a Python 3.8)

--

--

Zhijing Eu
Zhijing Eu

Written by Zhijing Eu

Hi ! I’m “Z”. I am big on sci-fi, tech and digital trends.

No responses yet