Automated Menu Recommendation System Based On Past Preferences
Automated Menu Recommendation System Based On Past Preferences
Automated Menu Recommendation System Based On Past Preferences
Abstract—Data mining plays an important role in ecommerce usage. As such, the application is constantly learning about the
in today’s world. Time is critical when it comes to shopping as user and evolving with each usage.
options are unlimited and making a choice can be tedious. This
study presents an application of data mining in the form of an Android [4] is a mobile operating system based on the
Android application that can provide user with automated Linux kernel. It has been designed for devices with a
suggestion based on past preferences. The application helps a touchscreen such as smartphones and tablets. Android was
person to choose what food they might want to order in a specific developed by Android Inc. that was founded in 2003. It was
restaurant. The application learns user behavior with each order bought by Google in 2005 [5]. Android is the world’s most
- what they order in each kind of meal and what are the products powerful and popular mobile platform with over a million new
that they select together. After gathering enough information, the Android mobile devices activated every day [6].
application can suggest the user about the most selected dish in
the recent past and since the application started to learn. The Apriori algorithm is a data-mining algorithm for
Applications, such as these, can play a major role in helping frequent mining of item sets over transactional databases. The
make a decision based on past preferences, thereby reducing the algorithm works by analyzing a dataset considering a minimum
user involvement in decision making. support threshold. The algorithm then identifies the individual
items with a frequency greater or equal than the threshold, and
Keywords—data mining; Apriori; Android; restaurant; creates datasets by combining all those items. The algorithm
recommendation system does the same with the new datasets, until there is any item in
the set that has more frequency than the minimum support
I. INTRODUCTION threshold.
E-commerce has become an important aspect of our life
today. The popularity of mobile devices has further helped II. METHODS
towards pushing this trend upwards [1]. People are spending The application is programmed in Android, API level 19
more time shopping online on their mobile devices today than (for Android 4.4.2 or higher), using eclipse [7] as the integrated
they were in the past. At the same time, inventories of online development environment. SQLite3 [8] is used as the backend
stores are ever increasing giving shoppers more options to which is a simple way to save user data.
choose from. However, with the availability of so many
different options, making a decision can be stressful. Data The MySqlHelper class is used to create and fill the
mining can play an important role in providing user with the database. The database has three different tables as shown in
right information at the right time, thus improving the shopping Figure 1. The “Dishes” table has the following attributes - id as
experience of the user [2]. the primary key, name of the dish, the description, the category
and the price. The second table is called “Transactions” and
Data mining is being used in several ecommerce sites such contains the id as the primary key, the kind of meal and the
as Amazon and ebay. However, restaurants are still lagging date of the transaction. The “Transactions Dishes” table has an
behind in the application of data mining to improve their id and also holds the primary keys of the first two tables as
operations. Relationships and trends in user data can be foreign keys. This table is used to provide data to the Apriori
identified and used to improve user experience by providing algorithm which provides the data mining capabilities to the
them with automated menu recommendations based on their application.
past preferences.
Next, there are three classes working as content providers
This paper describes a study performed by applying data [9], one for each of the three tables in the database. Content
mining techniques and Android application development providers manage access to a structured set of data. They
techniques in creating an application for a restaurant. The encapsulate the data, and provide mechanisms for defining data
application is a digital menu that differentiates the kind of meal security. They are also the standard interface that connect data
based on the time of the day and suggests the user the most in one process with code running in another process. In this
common dishes for that kind of meal. The application uses case, these classes are used to provide an easy way to
Apriori algorithm [3] to analyze the information that the user communicate and interact with the database such as the ability
enters and provides automated recommendations based on past to insert a row in any of the database tables.
74 | P a g e
www.ijacsa.thesai.org
(IJACSA) International Journal of Advanced Computer Science and Applications,
Vol. 5, No. 7, 2014
75 | P a g e
www.ijacsa.thesai.org
(IJACSA) International Journal of Advanced Computer Science and Applications,
Vol. 5, No. 7, 2014
76 | P a g e
www.ijacsa.thesai.org
(IJACSA) International Journal of Advanced Computer Science and Applications,
Vol. 5, No. 7, 2014
Future work will involve adding and displaying nutritional contribute towards improving the shopping experience of the
information about the dishes, and also adding information users by saving them both time and effort.
about multiple restaurants. A study will also be performed to REFERENCES
further improve the algorithm by adding other factors related to
[1] L. Einav, J. Levin, I. Popov and N. Sundaresan, Growth, adoption and
user purchase pattern such as the price of the item and the use of mobile e-commerce, The American economic review, 104(5), pp.
nutritional value of the item that the user normally purchases. 489-94, 2014.
A webpage will also be developed and connected to the [2] Data mining in ecommerce, [retrived July 2014]
application database which will allow the restaurant manager http://www.ias.ac.in/sadhana/Pdf2005AprJun/Pe1299.pdf
to keep track of the items that the customers normally purchase [3] R. Agrawal and R. Srikant, Fast algorithm for mining association rules,
together. This will enable them to make relevant offers, add In Proc. 20th int. conf. very large databases, VLDB (Vol. 1215), pp. 487-
new dishes and change prices. Future work will also involve 499, September 1994.
applying the recommendation algorithm to other fields such as [4] Android, [retrived July 2014] http://www.Android.com/
a trip recommendation system. [5] Android Wikipedia Page, [retrived July 2014]
http://en.wikipedia.org/wiki/Android_(operating_system)
V. CONCLUSION [6] About Android, [retrived July 2014]
http://developer.android.com/about/index.html
Recommendation systems have become an important part
[7] Eclipse, I.D.E., The Eclipse Foundation, 2007, [retrived July 2014]
of our digital life. These systems are being used by several e- https://www.eclipse.org/
commerce sites to improve user experience of online shoppers [8] SQLite, [retrived July 2014] https://www.sqlite.org/
as they can be a valuable resource to the user. This paper [9] Android Content Provider, [retrived July 2014]
presented a menu recommendation system for a restaurant. The https://developer.Android.com/guide/topics/providers/content-
application provided user with menu recommendation providers.html
depending on the users past preferences and the time of the [10] Android Activity, [retrived July 2014]
day. The Android operating system was used to develop the https://developer.Android.com/reference/Android/app/Activity.html
application and the Apriori algorithm was used as the basis of [11] Android Spinner, [retrived July 2014]
the recommendation system. Applications such as this can https://developer.Android.com/guide/topics/ui/controls/spinner.html
77 | P a g e
www.ijacsa.thesai.org