NLP Topic Modeling on Hotel Reviews (Project 4)

Andrew Tan
Oct 26, 2020

+ Recommender on Hotel Reviews

Photo by Roberto Nickson on Unsplash

This week I completed Project 4 on Topic Modeling for Hotel Reviews. I threw in a Hotel Recommender Algorithm to spice it up. I must have spend countless times writing and rewriting my code until my tired eyes are having double vision.

Importing libraries for this Notebook

Screenshot of the libraries import for this notebook

Overview of the Entire Process

After reading the data, cleaning and taking 5000 samples, I did a simple Geographical Sort using Kmeans.

Using T-sne to plot the Topic Words found in the reviews

Using LDAvis to visualise the Topic Words

The results after applying NLP LDA model is a list of topic words which is up to us to interpret.

LDAvis fpr netter visua;isation

The above LDAvis interactive html page can be accessed here. For this project, I fitted as many features to showcase what I have learnt the Data Scientist BoopCamp. I gave it my all. It is accessible here.

My Basic Hotel Recommender

Now, I can rest my tired eyes and get my sight back. Onward to the Final Push, Project №5. Hurrah!!!

--

--

Andrew Tan
0 Followers

You Only Live Once. Make the Best of it.