BCD3002 Business Intelligence and Analytics

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

TARANG GARG 19BCE0053

BCD3002 Business Intelligence and Analytics


DIGITAL ASSESSMENT 1

Zomato Restaurant Analysis

NAME: TARANG GARG


REG. NO.: 19BCE0053
SLOT: B1+TB1+B2+TB2
FACULTY: PROF. ARUNKUMAR T
TARANG GARG 19BCE0053

Abstract
Whenever we visit a new place, we want to go to the best restaurant or the
cheapest restaurant, but a decent one. Or we can first look at the ratings or the
reviews if we want to try food in some new restaurants. Zomato is one such app
that provides users with ratings and reviews of restaurants across India. Ratings
or reviews are considered to be one of the most significant/decisive variables
that decide how good a restaurant is. I will therefore use the real time data set
here in my project that has different factors/features that a user can look into
about a restaurant.
The Zomato dataset provides us with information on factors influencing the
establishment of different types of restaurants at different locations in India,
along with the overall ranking of each restaurant. I’d like to find the cheapest
restaurant in India. Along with the same, I am going to discuss different other
relationships such as the most expensive restaurant, the best location, the
relationship between location and ranking, the number of restaurants in a
location. Since it is a real time data, we would start with my Data Exploratory
process like handling the Nan values, null values, dropping duplicates and other
Transformations. My target variable is the "Rates" column. I will be exploring
the relationship of the other features in the dataset with respect to Rates.
I will visualize the relation of all the other depend features with respect to our
target variable, and hence find the most correlated features which effects the
target variable. I would then implement this in Power BI to make interactive
dashboard.

Introduction
The basic idea of analyzing the Zomato dataset is to get a fair idea about the
factors affecting the establishment of different types of restaurant at different
places in Bengaluru, aggregate rating of each restaurant, Bengaluru being one
such city has more than 12,000 restaurants with restaurants serving dishes from
all over the world. With each day new restaurants opening the industry has’nt
been saturated yet and the demand is increasing day by day. Inspite of
increasing demand it however has become difficult for new restaurants to
compete with established restaurants. Most of them serving the same food.
Bengaluru being an IT capital of India. Most of the people here are dependent
mainly on the restaurant food as they don’t have time to cook for themselves.
With such an overwhelming demand of restaurants it has therefore become
important to study the demography of a location. What kind of a food is more
popular in a locality. Do the entire locality loves vegetarian food. If yes then is
TARANG GARG 19BCE0053

that locality populated by a particular sect of people for eg. Jain, Marwaris,
Gujaratis who are mostly vegetarian. These kind of analysis can be done using
the data, by studying the factors such as • Location of the restaurant • Approx
Price of food • Theme based restaurant or not • Which locality of that city
serves that cuisines with maximum number of restaurants • The needs of people
who are striving to get the best cuisine of the neighborhood • Is a particular
neighborhood famous for its own kind of food.

“Just so that you have a good meal the next time you step out”

The data is accurate to that available on the zomato website until 15 March
2019. The data was scraped from Zomato in two phase. After going through the
structure of the website I found that for each neighborhood there are 6-7
category of restaurants viz. Buffet, Cafes, Delivery, Desserts, Dine-out, Drinks
& nightlife, Pubs and bars.

Dataset
https://www.kaggle.com/datasets/himanshupoddar/zomato-bangalore-
restaurants

Methodology
Phase I
In Phase I of extraction only the URL, name and address of the restaurant were
extracted which were visible on the front page. The URl's for each of the
restaurants on the zomato were recorded in the csv file so that later the data can
be extracted individually for each restaurant. This made the extraction process
easier and reduced the extra load on my machine. The data for each
neighborhood and each category can be found here

Phase II
In Phase II the recorded data for each restaurant and each category was read and
data for each restaurant was scraped individually. 15 variables were scraped in
this phase. For each of the neighborhood and for each category their
online_order, book_table, rate, votes, phone, location, rest_type, dish_liked,
cuisines, approx_cost(for two people), reviews_list, menu_item was extracted.
See section 5 for more details about the variables.
TARANG GARG 19BCE0053

Phase III
In Phase III, Sentiment Analysis of Reviews of the dataset to identify the
feelings of the users towards Restaurants. Sentiment analysis is the
computational task of automatically determining what feelings a writer is
expressing in text. Sentiment is often framed as a binary distinction (positive vs.
negative), but it can also be a more fine-grained, like identifying the specific
emotion an author is expressing (like fear, joy or anger).

Phase IV
The rapid growth of data collection has led to a new era of information. Data is
being used to create more efficient systems and this is where Recommendation
Systems come into play. Recommendation Systems are a type of information
filtering systems as they improve the quality of search results and provides
items that are more relevant to the search item or are realted to the search
history of the user. They are active information filtering systems which
personalize the information coming to a user based on his interests, relevance of
the information etc. Recommender systems are used widely for recommending
movies, articles, restaurants, places to visit, items to buy etc. Here I will be
using Content Based Filtering Content-Based Filtering: This method uses only
information about the description and attributes of the items users has
previously consumed to model user's preferences. In other words, these
algorithms try to recommend items that are similar to those that a user liked in
the past (or is examining in the present). In particular, various candidate items
are compared with items previously rated by the user and the best-matching
items are recommended.

Algorithm Used
• Exploratory Data Analysis
• Visualization
• Rate Prediction
• Sentiment Analysis of Reviews
• Recommendation System
TARANG GARG 19BCE0053

Inspiration
I was always astonished by how each of the restaurants are able to keep up the
pace inspite of that cutting edge competition. And what factors should be kept
in mind if someone wants to open new restaurant. Does the demography of an
area matters? Does location of a particular type of restaurant also depends on
the people living in that area? Does the theme of the restaurant matters? Is a
food chain category restaurant likely to have more customers than its counter
part? Are any neighborhood similar ? If two neighborhood are similar does that
mean these are related or particular group of people live in the neighborhood or
these are the places to it? What kind of a food is more popular in a locality. Do
the entire locality loves vegetarian food. If yes then is that locality populated by
a particular sect of people for eg. Jain, Marwaris, Gujaratis who are mostly
vegetarian. There are infacts dozens of question in my mind. lets try to find out
the answer with this dataset.

You might also like