Skip to content

Given a users review, predict the stars given by the reviewer

Notifications You must be signed in to change notification settings

SukritiGupta/Yelp_sentiment_NaiveBayes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yelp_sentiment_NaiveBayes

Given a users review, predict the stars given by the reviewer. Implemented Naive Bayes in python and used sklearn.feature_extraction.text.CountVectorizer for token counts. The models and accuracies reported are after training the models on a small subset (534k train and 133k test) of Yelp reviews. This gave 60.035% accuracy. POS+Bigrams tagging gave 63.19% accuracy. Utils.py was provided by the instructor/TAs.

About

Given a users review, predict the stars given by the reviewer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages