Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Publication

Top Restaurant Finder Nearby
Latest   Machine Learning

Top Restaurant Finder Nearby

Last Updated on July 20, 2023 by Editorial Team

Author(s): Chittal Patel

Originally published on Towards AI.

Photo by Jay Wennington on Unsplash

Introduction

In this project, I created a Basic Data Science Project namely Top Restaurant Finder which will give the top Restaurants near your address. I did explore the venues based on their Ratings and Distances. Whenever a person wants to find a Particular Restaurant in the vicinity of his current address or any address then, this model will recommend the Best Restaurants nearby on Map with their ratings. Thus, My aim here was to fetch restaurants that someone could visit nearby.

I got venues that were fit for the location specified, based on the data collected from the Foursquare API and information retrieved from the Data Science application.

Data Used

The data was collected from the Foursquare API. The first step was to search for venues with given Query, Location and within a radius specified by the User from his given location. After extracting the venues using the Foursquare API, the latitude and longitude values were used to fetch the venue details using Foursquare API.

After fetching the venue details, again Foursquare API was used to fetch the details of all the venues and then after adding the relevant information and process the Data, The Best and Top 6 Restaurants nearby were recommended.

Summarizing the Data Used:

1. Latitudes and Longitudes from Geolocator.

2. Search Query Data like Restaurant Name, Address, Latitude, Longitude, etc. (JSON) from Foursquare

3. Data Of Every Venue nearby like Restaurant Category, Ratings, Reviews, Tips, etc. (JSON) from Foursquare

4. Data Wrangling and taking required Data

Methodology

The aim is to recommend the Top restaurants nearby so firstly we need Data.

1. The user will enter his current address/location, the radius of the vicinity in which he wants to search the restaurants and the type of cuisine.

2. Geolocator will fetch the Latitude and Longitude coordinates of the Address

3. We will search all the Restaurants with given cuisine using Foursquare API and get the results converted into the Dataframe so that we can analyze them.

4. We will plot all the Locations with Markers describing their name, distance from user and category of restaurant.

5. Now Taking every venue, We will fetch its details using Foursquare API and get the data that is relevant and useful to us.

6. And finally using this data we will map the locations and provide it to the user.

Result

Β· The above Map is the result of our project.

Β· Firstly we showed the user all the nearby restaurants on the Map this was our first result.

Β· Then we converted those data and filtered it to The Top restaurants nearby

Β· Finally plotted all the restaurant which were top-rated on the Map

Thus, The User got The Best Restaurants near his current location on the Map.

Discussion

Β· So we observed that the data can be framed to recommend the user based on criteria.

Β· From the result above We Can Recommend The Markers on The Final Map as The Top Restaurants Nearby

Conclusion

Β· Thus, I can say that it is a basic recommender which can be used to Recommend a restaurant to a User based on distance and ratings of the nearby Restaurants.

You can find my completed project on GitHub.

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.

Published via Towards AI

Feedback ↓