Skip to content

This repository contains sentiment analysis of Amazon product reviews (NLP) with different machine learning and deep learning models.

Notifications You must be signed in to change notification settings

klaudia-nazarko/nlp-sentiment-analysis

Repository files navigation

Sentiment Analysis of Amazon Product Reviews

sentiment analysis

Sentiment analysis, which is also known as opinion mining, is one of the major tasks of NLP. It studies people’s sentiments towards certain entities and detects polarity (e.g. a positive or negative opinion) within text. Sentiment analysis is often used in business to detect sentiment in social media, evaluate brand reputation and understand customers.

This project focuses on predicting sentiment of Amazon product reviews from Toys & Games category. Each review has the score that was used as a proxy of sentiment.


Steps of running a sentiment analysis of product reviews:

  1. Text preprocessing & creating word vectors - transform text into word vectors with various methods: Bag of Words, TF-IDF, Co-occurrence Matrix with SVD & NMF decomposition, Word2Vec
  2. Sentiment Analysis with Machine Learning models:
  3. Sentiment Analysis with Deep Learning models - comparison of performance of different neural networks: densely connected, LSTM, CNN.

Reference:

  1. https://jmcauley.ucsd.edu/data/amazon/ - product reviews dataset
  2. https://www.fast.ai/2019/07/08/fastai-nlp/ - Fast.ai NLP course
  3. Chollet, F. (2018). Deep Learning with Python Manning Publications

About

This repository contains sentiment analysis of Amazon product reviews (NLP) with different machine learning and deep learning models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published