Skip to content

Using Restaurant Consumer Rating database to predict and recommend top rated restaurants based on user and restaurant profile.

Notifications You must be signed in to change notification settings

rahul-madaan/Restaurant-Recommendation-System

Repository files navigation

Restaurant-Recommendation-System

Using Restaurant Consumer Rating database to predict and recommend top rated restaurants based on user and restaurant profile.

User can also sort the top restaurants accoring to distance based on latitude and longitude values.

Data

The data were originally from the UCI Machine Learning Repository. There are a README and nine csv files in the data directory, including five for the restaurant information, three for the consumer information, and one for the ratings:

Restaurants

  • chefmozaccepts.csv
  • chefmozcuisine.csv
  • chefmozhours4.csv
  • chefmozparking.csv
  • geoplaces2.csv

Consumers

  • usercuisine.csv

  • userpayment.csv

  • userprofile.csv

Ratings

  • rating_final.csv

Three ratings (rating, food rating, and service rating) with values of 0, 1, or 2 are given for a restaurant-consumer pair. More detailed descriptions of the data can be found in the README.

Exploratory Data Analysis(EDA)

Relation of Restaurant Rating with various factors (Price, Parking etc...)

Screenshot 2022-06-07 at 1 25 09 PM

Conclusion: Ratings of restaurant having lower price range are usually lower than those having a meduim/high priced menu

Screenshot 2022-06-07 at 1 25 29 PM

Conclusion: Restaurants having a vellet parking options have much higher rating than the restaurants not having one.

Screenshot 2022-06-13 at 12 30 01 PM

Conclusion: Restaurants where smoking is allowed have higher overall ratings compared to restaurants not allowing smoking

Screenshot 2022-06-14 at 8 18 05 AM

Conclusion: Restaurants having a full bar have better overall ratings than restaurants not serving alcohol or only serving wine and beer

Screenshot 2022-06-15 at 12 10 43 AM

Conclusion: Restaurants providing various services including internet had better ratings than restaurats which provided just internet or no services

Screenshot 2022-06-18 at 4 46 52 PM

Conclusion: Overall ratings of all restaurants having a formal dress code are much higher than those having informal or no dress code.

Screenshot 2022-06-23 at 3 20 10 PM

Conclusions: Restaurants which had closed eating area had higher overall rating than the restaurants which had open eating area.

Accuracy of various models

Screenshot 2022-06-23 at 3 34 59 PM

Accuracy of KNN on K=2 to K=30

Screenshot 2022-06-23 at 3 38 10 PM

Max accuracy at K=5

Hyper-parameter tuning of various models

Accuracy change on changing n_estimators in XG-Boost Classifier Model

Screenshot 2022-06-26 at 12 02 11 AM


Accuracy of decision tree classifier on changing tree depth

Screenshot 2022-06-27 at 12 00 04 AM

### Accuracy change on changing min_samples_leaf of decision tree classifier

Screenshot 2022-06-28 at 7 50 29 AM

About

Using Restaurant Consumer Rating database to predict and recommend top rated restaurants based on user and restaurant profile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published