Skip to content

Built RCNN, SVM, and Naive Bayes models using Yelp reviews data

Notifications You must be signed in to change notification settings

saiharshithreddy/Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment-Analysis

Goal

The project is aimed at solving the problem of finding the sentiment of the user reviews on yelp.com

Installation

Libraries needed to run the code:

pip3 install -r requriements.txt

Download the Yelp dataset:

Algorithms

  1. Support Vector Machine
  2. Naive Bayes
  3. RCNN model

Steps involved

Data preprocessing

  1. Remove stop words
  2. Lemmetization
  3. Uppercase to Lowercase
  4. Removing any bad characters like \n, \t, $ etc using regex.

Check my blog on text preprocessing.

Evaluation

Due to an imbalance classes, F1 score was metric was used.

About

Built RCNN, SVM, and Naive Bayes models using Yelp reviews data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published