top of page

NLP Sentiment Prediction Tensorflow Guided Project. Predict rating from TripAdvisor Level 5 31min

Updated: Aug 20, 2023

Follow along with me and code in Python using Pandas and Tensorflow. We will predict the TripAdvisor star rating of hotels from the description left in the review. In this project, the recurrent layer SimpleRNN was used but the LSTM or GRU layer can be used as well. We will use the text from the review to predict which star rating the left.


We will use WordCloud to complete EDA on the text data.


Also important preprocessing steps like treating punctuation, stemming of verbs using PorterStemmer, and using Tensorflows text_to_sequences and pad_sequences to get our data ready for our neural network.







data science teacher brandyn YouTube Channel




Follow Data Science Teacher Brandyn




Data Groups:




Free, Instruct, instructional, instructional education,free python learn, seaborn, python, project, data analysis project, pandas, analyze, Tensorflow, architecture, neural network, deep learning
Model Build Function


Free, Instruct, instructional, instructional education,free python learn, seaborn, python, project, data analysis project, pandas, analyze, Tensorflow, architecture, neural network, deep learning
Word Cloud in Python

Free, Instruct, instructional, instructional education,free python learn, seaborn, python, project, data analysis project, pandas, analyze, Tensorflow, architecture, neural network, deep learning
Model Factory Function to Design Architecture








275 views0 comments
bottom of page