A practical guide to topic mining and interactive visualizations
Switch branches/tags
Nothing to show
Clone or download
Latest commit 14748e4 Apr 29, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
data uploading data Apr 20, 2018
images/article_2 uploading images Apr 20, 2018
plots uploading pyldavis Apr 20, 2018
README.md Update README.md Apr 29, 2018
article_2.ipynb adding article_2.ipynb Apr 20, 2018
news.json adding news.json Mar 11, 2017


End-to-end tutorial to tackle topic mining and interactive visualizations in python

In this tutorial we'll dive in topic mining. We'll analyze a dataset of newsfeeds extracted from more than 60 sources thanks to a web service called newsapi.org .

We'll show how to process this text data, analyze it and automatically extract visual clusters of topics from it.

We'll show how to put in practice great python tools for interactive visualization, topic mining and text analytics: scikit-learn, gensim for the modeling, Bokeh and PyLDAvis for the plots.

All the code is available to you to run and test.

You can either visualize the notebook on github or on my website .

Environment setup

In this tutorial, I'll be using python 2.7

One thing I recommend is downloading the Anaconda distribution for python 2.7 from this link. This distribution wraps python with the necessary packages used in data science like Numpy, Pandas, Scipy or Scikit-learn.

pip install tqdm
conda install -c anaconda nltk=3.2.2
conda install bokeh
pip install --upgrade gensim
pip install pyldavis
pip install wordcloud

If you have any question or recommendation regarding the content of this article, please refer to the website's comment section.