What it does

This website allows users to search for locations on google maps and check whether the reviews are real or not. It does this by running the reviews against a machine learning classifier, which outputs the polarity (i.e. real or fake) and the percent accuracy of that.

How we built it

The architecture of the website is a REST API that is consumed by a Javascript frontend. The backend REST API was made using Flask, and the machine learning model was trained using Keras. The dataset used to train this model was taken from an open-sourced dataset from Cornell University. The API is hosted using a Heroku cloud instance. The frontend was made using Javascript, CSS/Bootstrap, HTML, and a google maps widget. To make a search, the API endpoint is hit with a POST request with the PlaceID of the location (taken from the maps widget). The API then does a get request to the Google Places API, grabs the review data, and runs it against the trained model and makes a prediction. The accuracy of the prediction is then appended to the data taken from the Places API and is sent back to the frontend as a JSON response. The frontend then displays this data to the user.

Challenges we ran into

Figuring out the architecture/software stack of the system was a bit of a challenge, especially given everyone's different coding backgrounds. Getting ourselves organized and getting everyone on the same page was also a challenge.

Accomplishments that we're proud of

We got it done!

What we learned

How to use Google Maps/Places APIs, re-learning how to host on heroku, libraries/frameworks like Bootstrap & Flask.

What's next for ReviewChecker

Larger dataset for more accurate predictions, a mobile (Android/iOS) instance of website.

Built With

Share this project: