Professional Documents
Culture Documents
FILTERING TECHNIQUE
2020/2021
ABSTRACT
The common problem usually arise among Malaysians is that to choose a place to have
their meal. This is because Malaysia is a country that have a variety kind of foods.
Hence, most of the Malaysians wasting time for too long to decide the place to have
their meal. Food Zone system is a web-based system designed to solve the user problem
in deciding and finding the place to have their meals. This system can also solve the
problem of inaccurate rating of the restaurant. The old way of counting the rating was
inaccurate since there are no different between the current rating and the rating given by
the customer from long time ago. The main purpose of this system is to give the user an
easy way to choose the restaurant where they can have their meal. The user can access
this system through their smartphone and choose the restaurant after they input their
preferred criteria. Food Zone system also provide location of the restaurant and allow
the user to give rating to the restaurant. Moreover, this system also shows the user the
latest news feed and update about the restaurant. The technique that has been used in
the system is Collaborative Filtering. In conclusion, this system will solve the
Malaysians problem of choosing the restaurant to have their meal and will also solve
PAGE
ABSTRACT i
CONTENTS ii
CHAPTER 1 INTRODUCTION
1.1 Background 1
1.3 Objective 3
1.4 Scope 4
2.1 Introduction 6
2.5 Algorithm 13
2.5.1 Rating by Average 13
CHAPTER 3 METHODOLOGY
3.1 Introduction 17
3.9.2 Admin 31
3.9.3 Customer 32
3.9.4 Menu 32
3.9.5 Rating 33
3.9.6 Restaurant 33
3.10 Summary 35
REFERENCES 36
CHAPTER 1
INTRODUCTION
1.1 Background
Nowadays, mobile phone had been widely use since its first produce on April 3, 1973
by Martin Cooper, a Motorola researcher and executive. Ever since its first produce, many
manufacturer had try to create various design and models of mobile phones such as
Huawei, Samsung and iphone. Furthermore, all of these mobile phones had been
implemented with a lot of features such as messaging, internet surfing, social media and
many more.
A restaurant is usually for a Malaysian to eat and hang out with their friends and
families. Living in a busy life leads to more people choose to eat outside rather than
cooking at home. But, the common problem arise when choosing where to eat. Food Zone
system that can help the users in finding the place to have their meals based on their input
criteria. This system will display the suggested restaurant after the user give the input of
what kind of food they preferred, the user’s budget and whether the user want to go to
nearby or far place. Then, the system will give the user the location of the restaurant. This
system also allow the user to see the rating about the restaurant and the user can also give
There are many restaurant but it is hard to find the most suitable place to eat or hangout
based on their taste, budget, type of food and with a delicious food. Usually, it is sometimes
Malaysian consists a lot of different races. There are Malays, Chinese, Indians and
others. Hence, most of the Malaysian have different kind of taste because there are various
kind of food such as western food, instant food and traditional food. Hence, when they
hangout with one another, it will takes a lot of time to decide which restaurant to eat.
Usually, when someone who are new to that place would have problem to choose which
place to have their meals. Most of them would usually have their meal at the same place
because they does not have confident if the restaurant would satisfy them. By referring to
this system, they can see the review and which place suggested by the locals.
2
1.3 Project Objectives
1) To design Food Zone system that helps the user to find restaurants to eat based on
their criteria.
2) To develop Food Zone system that can implement collaborative filtering to the
restaurant.
3) To test the functionality of the Food Zone system whether that system can decide and
3
1.4 Project Scope
The scope of this system are Customer, Admin and Restaurant Owner.
Customer
Restaurant Owner
Admin
4
1.5 Limitation of Work
This system is only for finding a restaurant purposes. It can be access through a mobile
phone or computer and to access the full function of the system, the mobile data or Wi-Fi
connection is needed.
The expected result of this project is that the user can find a restaurant where they can have
their meals. The user also can choose the restaurant by give the input of their demanded
type of food, price of food and whether they prefer a far or nearest restaurant. Accurate
rating will be implemented after the user give rating to the restaurant.
Table 1.1 shows gantt chart for the whole process of the proposed system.
5
CHAPTER 2
LITERATURE REVIEW
2.1 Introduction
This chapter will focused on the research that is directly or indirectly to the project.
This chapter will be important for the development stages of the project. The analysis,
observation, summarising and evaluating of the existing system will be made during this
chapter. Hence, by this information, it can be used to develop a new system that can
Figure 2.1 shows the research on existing system that search restaurant using google
maps.
6
Figure 2.1 Search Restaurant using Google Maps
Table 2.1 Shows the advantages and disadvantages of the google maps
Figure 2.2 shows the research on existing system that using trip advisor website.
7
Table 2.2 Shows the advantages and disadvantages of the website
Figure 2.3 shows the research on existing system that using jalan-jalan cari makan
website.
8
2.3 Research on Related Research Techniques
9
Table 2.5 Shows a review on related research techniques in recommender system on
Collaborative Location and Activity Recommendationswith GPS History Data.
10
Table 2.6 Shows a review on related research techniques in recommender system on
A Recommendation System for Spots in Location-Based Online Social Networks.
11
2.4 Solution Approach
Solution approach is where we explains about the possible approach that will be choose
in this system. In order to find the solutions, we need to identify the approaches whether
it is capable of implement or not. Thus, the technique that will be use is Collaborative
Filtering.
Malaysian have different kind of taste because there are various kind of food such as
western food, instant food and traditional food. Usually, it will takes a lot of time to decide
which restaurant to eat because they does not have confident if the restaurant would satisfy
them. Besides, when someone who are new to that place, it will be a problem to choose
which restaurant to have their meals. Therefore, in order to know whether the restaurant
will display the highest recommender restaurant to the user or not, this Food Zone System
interest in some item on the basis of the scores generated and the correlation calculated
between the users. It will filter out items that a user might like on the basis of reactions by
similar users. The technique will be implemented in Food Zone System when the customer
give rating to the restaurant based on rating on a scale of 1 to 5, which is define as likes or
dislikes. It will be calculated when all the user have be done give rating to all the restaurant.
After that, Food Zone system will be display what the highest recommender restaurant to
12
2.5 Algorithm
Rating by average
Sum_of_all_ratings
rating_average = ------------------------------------------
Number_of_ratings
Example :
January Customer 1 5 4 1
February Customer 2 - 4 2
March Customer 3 - 4 5
April Customer 4 - 3 5
Eventhough Restaurant C have an improved rating at current month, the rating is still low
compare to the other restaurant.
13
2.5.2 RATING BASED BY DATE
∑ (M/C)*R
Total = ----------------------------------------
Number of rating
Example :
January Customer 1 5 4 1
February Customer 2 - 4 2
March Customer 3 - 4 5
April Customer 4 - 3 5
14
2.5.2.1 Calculation for Restaurant A
Restaurant A Restaurant A
rating rating
February Customer 2 - - -
March Customer 3 - - -
April Customer 4 - - -
Restaurant B Restaurant B
rating rating
15
2.5.2.3 Calculation for Restaurant C
Restaurant C Restaurant C
rating rating
16
CHAPTER 3
METHODOLOGY
3.1 Introduction
categorized and analysis information to come out with a conclusion. It is a systematic ways
to solves the problem and solve them accordingly. There are many types of models that
can be followed for developing the system such as agile model, spiral model, waterfall
model and incremental model. The proposed system use Agile Methodology as a guidance
Agile methodology is used for the development of Food Zone System. Agile
development, where demands and solutions evolve through the collaborative effort of self-
organizing and cross-functional teams and their customers. There are six stages of agile
method that is requirement, design, development, testing, deployment and review phase.
17
Figure 3.1 Figure of agile methodology
In this phase, the project title had been selected. The project title for the system was
Food Zone System. The Gantt chart also needed as a guideline and references for the
project. In this phase also get all the requirements that are needed to design and develop
the new system. Based on the collection of information through article, method and
In the design phase, all the data or requirement obtained during planning and analysis
phase transformed into the design. Diagrams to show the flow of the system will be
develop in this chapter such as Context Diagram (CD), Data Flow Diagram (DFD) Level
developing the system. After that, will be design the database and system interface.
18
3.2.3 Development phase
This phase is where the design will implement into the coding. The system will develop
regarding the user and system requirement. To develop Food Zone System using
Collaborative Filtering the system will be use Xampp server for the database, Visual
Studio Code to code, Bootstrap and PHP language. This phase is a critical phase because
user part needed to be fulfils and to make sure the objectives accomplish.
After development phase has been done, Food Zone System using Collaborative
Filtering is tests in order to check the error and ensure the function run well as a whole
system. Any error or bugs will be fixed and repeated testing the system until all the
function can be use. In this phase, it will test the functionality of the Food Zone system
whether that system can decide and give the restaurant location to the user.
This phase where the process of the Food Zone System using Collaborative Filtering is
ready to be used by users. The system can be deployed and finally the system will be
This phase will get feedback and review form user for the maintenance of Food Zone
System using Collaborative Filtering. Hence, when the system is ready to be used, it will
19
be reviewed whether the system meets the objectives in order to fulfil their needs. In this
phase will follow-up with user to upgrade the system to another version in the future.
There are two requirement that needed to develop the system that is the software
requirement and hardware requirement. This is important to ensure the development of the
Table 3.1 shows the software requirement for the proposed system.
20
3.3.2 Hardware requirement
Table 3.2 shows the hardware requirement for the proposed system.
No Hardware Description
1. Laptop Asus Laptop
21
3.4 Framework Design
Figure 3.2 shows the framework of Food Zone System. This design shows the flow of
the process of what the users can do with the system. For the customer, the customer can
search the restaurant and give rating to the restaurant. The customer can also get the
location of the restaurant from the system. Besides, the admin can update the restaurant
and add new restaurant to the system. The restaurant owner also can update the menu of
the restaurant.
22
3.5 System Design and Modelling
The process or flow of the system is organized in order to make the development
process easier and smoother. The representation data are called as conceptual data
modelling. It is used to display the data structure. The data modelling process involves the
graphical representation of the functions and also processes in the system before the
development of the system occurs. Based on Food Zone System, the Context Diagram
(CD) and Data Flow Diagram (DFD) shows the physical design of the system while the
Entities Relationship Diagram (ERD) act as the logical design of the system.
23
3.6 Context Diagram
Food Zone System consists of 3 entities which are Admin, Customer, and Restaurant
Owner. Firstly, Admin can add restaurant and update status restaurant into the system. The
customer will be able to search restaurant, give rating to the restaurant and find location of
the restaurant while restaurant owner, they are able to update menu restaurant to the system
and the system will give rating to the restaurant based on customer rating. The context
24
3.7 Data Flow Diagram (DFD)
The Data Flow Diagram (DFD) Level 0 shows the main process and functions that occurs
in the system. The DFD for the Food Zone System can be refers from Figure 3.4. This
system used three(3) entities in DFD Level 0 which are Admin, Customer and Restaurant
Owner. There are four(4) total of processes that involved in the system which are login,
manage restaurant, manage menu and give rating. The Admin has two(2) major process
which are login and manage restaurant while the customer has three(3) major process
which are login, manage restaurant and give rating to the restaurant. The restaurant owner
has two(2) major process which are login and manage menu.
25
Figure 3.4 Data Flow Diagram
26
3.7.2 DFD LEVEL 1
Data Flow Diagram (DFD) Level 1 shows details of the process flow that involves in
Food Zone System which are manage restaurant, manage menu and give rating.
Figure 3.5 shows the flow for the process of managing restaurant. Admin can add new
27
3.7.2.2 Manage Menu
Figure 3.6 shows DFD for manage menu. The restaurant owner can add menu, update
28
3.8 Entity Relationship Diagram (ERD)
ERD is one of representative diagram that shows the relationship between entities in
the system. For this system, there are six tables within the system which are Admin,
Restaurant Owner, Customer, Restaurant, Rating and Menu. The ERD for Food Zone
29
Figure 3.8 Entity Relationship Diagram (ERD) Model
30
3.9 Data Dictionary
A data dictionary is a file that contains a database metadata. It contains records about
the objects in the database such as data relationship and other data. Hence, the database
management system software needs the data dictionary to access the data within the
database.
Table 3.8 shows the overall table that be used in the system. The databased is named
with Food Zone. There are six tables in Food Zone database which is admin, customer,
3.9.2 Admin
Table 3.9 shows the table of admin for Food Zone database. This table is used to store
the information for the admin. This table has two attributes which are adminID and
password.
31
Table 3.9 Table for admin
3.9.3 Customer
Table 3.10 shows the table customer for Food Zone database. This table is used to store
the information of the customer. This table has eight attributes which are customerID,
3.9.4 Menu
Table 3.11 shows the table menu for Food Zone database. This table is used to store the
information for the menu. This table has six attributes which are menuID, restaurantID,
32
3.9.5 Rating
Table 3.12 shows the table rating for Food Zone database. This table is used to store
the information for the rating. This table has six attributes which are ratingID, customerID,
3.9.6 Restaurant
Table 3.13 shows the table restaurant for Food Zone database. This table is used to store
the information for the restaurant. This table has eleven attributes which are restaurantID,
33
3.9.7 Restaurant Owner
Table 3.14 shows the table restaurant owner for Food Zone database. This table is used
to store the information for the restaurant owner. This table has three attributes which are
34
3.10 Summary
system can be done within the exact time given. A good methodology can provide
systematic steps in develop the system so that the system can be develop with minimum
errors and problem. The agile method is used in Food Zone system. System requirement
which is software and hardware requirements are needed in order to achieve this project.
The technical parts of this project is explained more. It includes the explanation of the
context diagram, data flow diagram (DFD), entity-relationship diagram (ERD) and
35
REFERENCES
1. Ge, M., Elahi, M., Fernaández-Tobías, I., Ricci, F., & Massimo, D. (2015, May).
Using tags and latent factors in a food recommender system. In Proceedings of the 5th
2. Zheng, V. W., Zheng, Y., Xie, X., & Yang, Q. (2010, April). Collaborative location
and activity recommendations with GPS history data. In Proceedings of the 19th
3. Berjani, B., & Strufe, T. (2011, April). A recommendation system for spots in
4. Li, Q., Wang, C., & Geng, G. (2008, April). Improving personalized services in
for mobile tourist guides. Personal and Ubiquitous Computing, 15(7), 759-770.
36