Skip to content

In this project, we aim to analyze hotel reviews to determine the underlying sentiment expressed by customers. Our goal is to differentiate between positive and negative reviews using Natural Language Processing (NLP) techniques and machine learning algorithms.

License

Notifications You must be signed in to change notification settings

justinapnguyen/Hotel_Reviews_Analysis_Using_NLP

Repository files navigation

Hotel Reviews Analysis Using NLP

Table of Contents

About the Project

The project is divided into two parts: exploratory data analysis and machine learning models. The goal of part 1 of this project is to gain a comprehensive understanding of the hotel reviews. This involves examining the structure, content, and distribution of the reviews to identify key patterns and insights. We will preprocess the reviews and prepare the dataset for machine learning. This includes text cleaning, tokenization, lemmatization, and feature extraction to ensure the data is in a suitable format for modeling. The goal of part two is to perform sentiment analysis by developing and evaluating several machine learning models to accurately label the sentiment expressed in hotel reviews as positive or negative.

Back to top

Part 1: Exploratory Data Analysis (EDA) and Data Wrangling

I will perform EDA and data wrangling techniques to gain comprehensive insights into the dataset.

Prerequisites

The following open source packages are used in this part of the project:

  • Natural Language Toolkit (nltk)
  • Pandas
  • Numpy
  • Plotly
  • Matplotlib
  • SciKit Learn (sklearn)

The Data

The dataset can be downloaded here.

Back to top

Part 2: Machine Learning Models

I will develop several machine learning models to correctly label the sentiment behind hotel reviews. The machine learning models I will use are Logistic Regression, K-Nearest Neighbors, and Decision Trees.

Prerequisites

The following open source packages are used in this part of the project:

  • NumPy
  • Pandas
  • Matplotlib
  • SciKit Learn (sklearn)

The Data

A cleaned and preprocessed dataset will be used to do the analyses stated above. The dataset can be downloaded here.

Back to top

About

In this project, we aim to analyze hotel reviews to determine the underlying sentiment expressed by customers. Our goal is to differentiate between positive and negative reviews using Natural Language Processing (NLP) techniques and machine learning algorithms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published