Skip to content

A machine learning system to detect fake reviews on Yelp.

Notifications You must be signed in to change notification settings

shrey24/yelp-fake-reviews-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yelp-fake-reviews-detector

A machine learning system to detect fake reviews on Yelp.

Demo:

Model training

Refer to the Jupyter notebooks in research folder to know the steps taken for preprocessing, model development and algorithms used. Although we experemented with different models, we found Naive Bayes to be most accurate with F1 score of 77%.

Installing and running this app:

  1. Requirements: Use pip install/conda install to download following packages
  • Numpy, pandas
  • sklearn
  • spacy
  • Django 2.1
  • pickle
  • tqdm
  1. running the app:
  • Go to folder containing manage.py and run command: python manage.py runserver
  • Once the server starts, open browser. The app runs on http://127.0.0.1:8000/
  • fake_reviews.txt and real_reviews.txt contains some reviews that can be used to test the working of model.

About

A machine learning system to detect fake reviews on Yelp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages