Merge branch 'master' of woodyfolsom.net:/opt/git/cs6601p2
This commit is contained in:
BIN
writeup/02_van_boekel.pdf
Normal file
BIN
writeup/02_van_boekel.pdf
Normal file
Binary file not shown.
BIN
writeup/FoodACDM.pdf
Normal file
BIN
writeup/FoodACDM.pdf
Normal file
Binary file not shown.
BIN
writeup/P2 Proposal - Revised.pdf
Normal file
BIN
writeup/P2 Proposal - Revised.pdf
Normal file
Binary file not shown.
17
writeup/P2 Proposal.aux
Normal file
17
writeup/P2 Proposal.aux
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
\relax
|
||||||
|
\citation{vanboekel}
|
||||||
|
\citation{corney}
|
||||||
|
\citation{janzenxiang}
|
||||||
|
\citation{truyen}
|
||||||
|
\citation{russelnorvig}
|
||||||
|
\citation{russelnorvig}
|
||||||
|
\citation{russelnorvig}
|
||||||
|
\bibstyle{plain}
|
||||||
|
\bibdata{p2refs}
|
||||||
|
\bibcite{corney}{1}
|
||||||
|
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Our Baysian net modeling user preferences}}{1}}
|
||||||
|
\newlabel{img:bayes_net}{{1}{1}}
|
||||||
|
\bibcite{janzenxiang}{2}
|
||||||
|
\bibcite{russelnorvig}{3}
|
||||||
|
\bibcite{truyen}{4}
|
||||||
|
\bibcite{vanboekel}{5}
|
||||||
33
writeup/P2 Proposal.bbl
Normal file
33
writeup/P2 Proposal.bbl
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
\begin{thebibliography}{1}
|
||||||
|
|
||||||
|
\bibitem{corney}
|
||||||
|
David Corney.
|
||||||
|
\newblock {Designing Food} with {Bayesian Belief Networks}.
|
||||||
|
\newblock {\em ACDM}, 2000.
|
||||||
|
|
||||||
|
\bibitem{janzenxiang}
|
||||||
|
M.~Janzen and Y.~Xiang.
|
||||||
|
\newblock {Probabilistic Reasoning} in {Meal Planning} in {Intelligent
|
||||||
|
Fridges}.
|
||||||
|
\newblock {\em 16th Conference of the Canadian Society for Computational
|
||||||
|
Studies of Intelligence}, 2003.
|
||||||
|
|
||||||
|
\bibitem{russelnorvig}
|
||||||
|
S.~Russel and P.~Norvig.
|
||||||
|
\newblock {\em Artificial Intelligence; A Modern Approach}.
|
||||||
|
\newblock Prentice Hall, third edition, 2010.
|
||||||
|
|
||||||
|
\bibitem{truyen}
|
||||||
|
Tran~The Truyen, Dinh~Q. Phung, and Svetha Venkatesh.
|
||||||
|
\newblock Preference {Networks}: {Probabilistic} {Models} for {Recommendation}
|
||||||
|
{Systems}.
|
||||||
|
\newblock {\em Proceedings of the {Sixth Australasian Conference} on {Data
|
||||||
|
Mining}}, 2007.
|
||||||
|
|
||||||
|
\bibitem{vanboekel}
|
||||||
|
Stein~A. van Boekel, M.A.J.S. and A.H.C. van Bruggen.
|
||||||
|
\newblock {Bayesian Statistics} and {Quality Modelling} in the {Agro-food
|
||||||
|
Production Chain}.
|
||||||
|
\newblock {\em Proceedings of the Frontis workshop}, 2004.
|
||||||
|
|
||||||
|
\end{thebibliography}
|
||||||
28
writeup/P2 Proposal.blg
Normal file
28
writeup/P2 Proposal.blg
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
This is BibTeX, Version 0.99dThe top-level auxiliary file: P2 Proposal.aux
|
||||||
|
The style file: plain.bst
|
||||||
|
Database file #1: p2refs.bib
|
||||||
|
I was expecting a `,' or a `}'---line 14 of file p2refs.bib
|
||||||
|
:
|
||||||
|
: CITY = {Wageningen}
|
||||||
|
(Error may have been on previous line)
|
||||||
|
I'm skipping whatever remains of this entry
|
||||||
|
I was expecting a `,' or a `}'---line 23 of file p2refs.bib
|
||||||
|
:
|
||||||
|
: CITY = {London}
|
||||||
|
(Error may have been on previous line)
|
||||||
|
I'm skipping whatever remains of this entry
|
||||||
|
I was expecting a `,' or a `}'---line 31 of file p2refs.bib
|
||||||
|
:
|
||||||
|
: CITY = {London}
|
||||||
|
(Error may have been on previous line)
|
||||||
|
I'm skipping whatever remains of this entry
|
||||||
|
I was expecting a `,' or a `}'---line 40 of file p2refs.bib
|
||||||
|
:
|
||||||
|
: CITY = {Guelph}
|
||||||
|
(Error may have been on previous line)
|
||||||
|
I'm skipping whatever remains of this entry
|
||||||
|
Too many commas in name 1 of "van Boekel, M.A.J.S., Stein, A. and van Bruggen, A.H.C." for entry vanboekel
|
||||||
|
while executing---line 1049 of file plain.bst
|
||||||
|
Too many commas in name 1 of "van Boekel, M.A.J.S., Stein, A. and van Bruggen, A.H.C." for entry vanboekel
|
||||||
|
while executing---line 1090 of file plain.bst
|
||||||
|
(There were 6 error messages)
|
||||||
236
writeup/P2 Proposal.log
Normal file
236
writeup/P2 Proposal.log
Normal file
@@ -0,0 +1,236 @@
|
|||||||
|
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2012.1.11) 2 MAR 2012 14:28
|
||||||
|
entering extended mode
|
||||||
|
**C:/Users/Woody/Desktop/GaTechMS/Spring*2012/CS6601*AI/Project*2/P2*Proposal.t
|
||||||
|
ex
|
||||||
|
|
||||||
|
("C:/Users/Woody/Desktop/GaTechMS/Spring 2012/CS6601 AI/Project 2/P2 Proposal.t
|
||||||
|
ex"
|
||||||
|
LaTeX2e <2011/06/27>
|
||||||
|
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
|
||||||
|
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
|
||||||
|
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
|
||||||
|
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
|
||||||
|
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
|
||||||
|
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
|
||||||
|
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
|
||||||
|
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
|
||||||
|
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
|
||||||
|
senglishmax, welsh, loaded.
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls"
|
||||||
|
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size10.clo"
|
||||||
|
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
|
||||||
|
)
|
||||||
|
\c@part=\count79
|
||||||
|
\c@section=\count80
|
||||||
|
\c@subsection=\count81
|
||||||
|
\c@subsubsection=\count82
|
||||||
|
\c@paragraph=\count83
|
||||||
|
\c@subparagraph=\count84
|
||||||
|
\c@figure=\count85
|
||||||
|
\c@table=\count86
|
||||||
|
\abovecaptionskip=\skip41
|
||||||
|
\belowcaptionskip=\skip42
|
||||||
|
\bibindent=\dimen102
|
||||||
|
)
|
||||||
|
("C:\Users\Woody\Desktop\GaTechMS\Spring 2012\CS6601 AI\Project 2\latex8.sty"
|
||||||
|
IEEE 8.5 x 11-Inch Proceedings Style `latex8.sty'.
|
||||||
|
\@ctmp=\skip43
|
||||||
|
\@figindent=\skip44
|
||||||
|
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\titlesec\titlesec.sty"
|
||||||
|
Package: titlesec 2011/12/15 v2.10.0 Sectioning titles
|
||||||
|
\ttl@box=\box26
|
||||||
|
\beforetitleunit=\skip45
|
||||||
|
\aftertitleunit=\skip46
|
||||||
|
\ttl@plus=\dimen103
|
||||||
|
\ttl@minus=\dimen104
|
||||||
|
\ttl@toksa=\toks14
|
||||||
|
\titlewidth=\dimen105
|
||||||
|
\titlewidthlast=\dimen106
|
||||||
|
\titlewidthfirst=\dimen107
|
||||||
|
)
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.sty"
|
||||||
|
Package: geometry 2010/09/12 v5.6 Page Geometry
|
||||||
|
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
|
||||||
|
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
|
||||||
|
\KV@toks@=\toks15
|
||||||
|
)
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty"
|
||||||
|
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
|
||||||
|
Package ifpdf Info: pdfTeX in PDF mode is detected.
|
||||||
|
)
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty"
|
||||||
|
Package: ifvtex 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
|
||||||
|
Package ifvtex Info: VTeX not detected.
|
||||||
|
)
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty"
|
||||||
|
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
|
||||||
|
)
|
||||||
|
\Gm@cnth=\count87
|
||||||
|
\Gm@cntv=\count88
|
||||||
|
\c@Gm@tempcnt=\count89
|
||||||
|
\Gm@bindingoffset=\dimen108
|
||||||
|
\Gm@wd@mp=\dimen109
|
||||||
|
\Gm@odd@mp=\dimen110
|
||||||
|
\Gm@even@mp=\dimen111
|
||||||
|
\Gm@layoutwidth=\dimen112
|
||||||
|
\Gm@layoutheight=\dimen113
|
||||||
|
\Gm@layouthoffset=\dimen114
|
||||||
|
\Gm@layoutvoffset=\dimen115
|
||||||
|
\Gm@dimlist=\toks16
|
||||||
|
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.cfg"))
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphicx.sty"
|
||||||
|
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
|
||||||
|
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
|
||||||
|
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
|
||||||
|
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\trig.sty"
|
||||||
|
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
|
||||||
|
)
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\graphics.cfg"
|
||||||
|
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
|
||||||
|
)
|
||||||
|
Package graphics Info: Driver file: pdftex.def on input line 91.
|
||||||
|
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\pdftex-def\pdftex.def"
|
||||||
|
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
|
||||||
|
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty"
|
||||||
|
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/message (HO)
|
||||||
|
)
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty"
|
||||||
|
Package: ltxcmds 2011/04/18 v1.20 LaTeX kernel commands for general use (HO)
|
||||||
|
)
|
||||||
|
\Gread@gobject=\count90
|
||||||
|
))
|
||||||
|
\Gin@req@height=\dimen116
|
||||||
|
\Gin@req@width=\dimen117
|
||||||
|
)
|
||||||
|
|
||||||
|
LaTeX Warning: Unused global option(s):
|
||||||
|
[times,08pt].
|
||||||
|
|
||||||
|
|
||||||
|
("C:\Users\Woody\Desktop\GaTechMS\Spring 2012\CS6601 AI\Project 2\P2 Proposal.a
|
||||||
|
ux")
|
||||||
|
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 10.
|
||||||
|
LaTeX Font Info: ... okay on input line 10.
|
||||||
|
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 10.
|
||||||
|
LaTeX Font Info: ... okay on input line 10.
|
||||||
|
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 10.
|
||||||
|
LaTeX Font Info: ... okay on input line 10.
|
||||||
|
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 10.
|
||||||
|
LaTeX Font Info: ... okay on input line 10.
|
||||||
|
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 10.
|
||||||
|
LaTeX Font Info: ... okay on input line 10.
|
||||||
|
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 10.
|
||||||
|
LaTeX Font Info: ... okay on input line 10.
|
||||||
|
|
||||||
|
*geometry* driver: auto-detecting
|
||||||
|
*geometry* detected driver: pdftex
|
||||||
|
*geometry* verbose mode - [ preamble ] result:
|
||||||
|
* driver: pdftex
|
||||||
|
* paper: <default>
|
||||||
|
* layout: <same size as paper>
|
||||||
|
* layoutoffset:(h,v)=(0.0pt,0.0pt)
|
||||||
|
* modes:
|
||||||
|
* h-part:(L,W,R)=(36.135pt, 542.02501pt, 36.135pt)
|
||||||
|
* v-part:(T,H,B)=(36.135pt, 722.7pt, 36.135pt)
|
||||||
|
* \paperwidth=614.295pt
|
||||||
|
* \paperheight=794.96999pt
|
||||||
|
* \textwidth=542.02501pt
|
||||||
|
* \textheight=722.7pt
|
||||||
|
* \oddsidemargin=-36.135pt
|
||||||
|
* \evensidemargin=-36.135pt
|
||||||
|
* \topmargin=-36.135pt
|
||||||
|
* \headheight=0.0pt
|
||||||
|
* \headsep=0.0pt
|
||||||
|
* \topskip=10.0pt
|
||||||
|
* \footskip=30.0pt
|
||||||
|
* \marginparwidth=4.0pt
|
||||||
|
* \marginparsep=10.0pt
|
||||||
|
* \columnsep=22.58437pt
|
||||||
|
* \skip\footins=9.0pt plus 4.0pt minus 2.0pt
|
||||||
|
* \hoffset=0.0pt
|
||||||
|
* \voffset=0.0pt
|
||||||
|
* \mag=1000
|
||||||
|
* \@twocolumntrue
|
||||||
|
* \@twosidefalse
|
||||||
|
* \@mparswitchfalse
|
||||||
|
* \@reversemarginfalse
|
||||||
|
* (1in=72.27pt=25.4mm, 1cm=28.453pt)
|
||||||
|
|
||||||
|
("C:\Program Files (x86)\MiKTeX 2.9\tex\context\base\supp-pdf.mkii"
|
||||||
|
[Loading MPS to PDF converter (version 2006.09.02).]
|
||||||
|
\scratchcounter=\count91
|
||||||
|
\scratchdimen=\dimen118
|
||||||
|
\scratchbox=\box27
|
||||||
|
\nofMPsegments=\count92
|
||||||
|
\nofMParguments=\count93
|
||||||
|
\everyMPshowfont=\toks17
|
||||||
|
\MPscratchCnt=\count94
|
||||||
|
\MPscratchDim=\dimen119
|
||||||
|
\MPnumerator=\count95
|
||||||
|
\makeMPintoPDFobject=\count96
|
||||||
|
\everyMPtoPDFconversion=\toks18
|
||||||
|
)
|
||||||
|
LaTeX Font Info: External font `cmex10' loaded for size
|
||||||
|
(Font) <12> on input line 17.
|
||||||
|
LaTeX Font Info: External font `cmex10' loaded for size
|
||||||
|
(Font) <8> on input line 17.
|
||||||
|
LaTeX Font Info: External font `cmex10' loaded for size
|
||||||
|
(Font) <6> on input line 17.
|
||||||
|
LaTeX Font Info: External font `cmex10' loaded for size
|
||||||
|
(Font) <7> on input line 80.
|
||||||
|
LaTeX Font Info: External font `cmex10' loaded for size
|
||||||
|
(Font) <5> on input line 80.
|
||||||
|
<bayes.jpeg, id=1, 994.71625pt x 644.4075pt>
|
||||||
|
File: bayes.jpeg Graphic file (type jpg)
|
||||||
|
<use bayes.jpeg>
|
||||||
|
Package pdftex.def Info: bayes.jpeg used on input line 88.
|
||||||
|
(pdftex.def) Requested size: 259.72032pt x 168.24995pt.
|
||||||
|
|
||||||
|
("C:\Users\Woody\Desktop\GaTechMS\Spring 2012\CS6601 AI\Project 2\P2 Proposal.b
|
||||||
|
bl"
|
||||||
|
Underfull \vbox (badness 10000) has occurred while \output is active []
|
||||||
|
|
||||||
|
[1{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}
|
||||||
|
|
||||||
|
|
||||||
|
<C:/Users/Woody/Desktop/GaTechMS/Spring 2012/CS6601 AI/Project 2/bayes.jpeg>]
|
||||||
|
Underfull \hbox (badness 3396) in paragraph at lines 21--26
|
||||||
|
[]\OT1/cmr/m/n/10 Tran The Truyen, Dinh Q. Phung, and Svetha
|
||||||
|
[]
|
||||||
|
|
||||||
|
) [2
|
||||||
|
|
||||||
|
]
|
||||||
|
("C:\Users\Woody\Desktop\GaTechMS\Spring 2012\CS6601 AI\Project 2\P2 Proposal.a
|
||||||
|
ux") )
|
||||||
|
Here is how much of TeX's memory you used:
|
||||||
|
1913 strings out of 494045
|
||||||
|
26388 string characters out of 3145969
|
||||||
|
90866 words of memory out of 3000000
|
||||||
|
5218 multiletter control sequences out of 15000+200000
|
||||||
|
9590 words of font info for 30 fonts, out of 3000000 for 9000
|
||||||
|
715 hyphenation exceptions out of 8191
|
||||||
|
27i,7n,32p,469b,212s stack positions out of 5000i,500n,10000p,200000b,50000s
|
||||||
|
{C:/Program Files (x86)/MiKTeX 2.9/fonts/enc/dvips/fontname/8r.enc}<C:/Pr
|
||||||
|
ogram Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx12.pfb><C:/Prog
|
||||||
|
ram Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi10.pfb><C:/Progra
|
||||||
|
m Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi7.pfb><C:/Program F
|
||||||
|
iles (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb><C:/Program File
|
||||||
|
s (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr12.pfb><C:/Program Files (
|
||||||
|
x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr7.pfb><C:/Program Files (x86)
|
||||||
|
/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy10.pfb><C:/Program Files (x86)/M
|
||||||
|
iKTeX 2.9/fonts/type1/public/amsfonts/cm/cmti10.pfb><C:/Program Files (x86)/MiK
|
||||||
|
TeX 2.9/fonts/type1/urw/helvetic/uhvb8a.pfb>
|
||||||
|
Output written on "P2 Proposal.pdf" (2 pages, 239834 bytes).
|
||||||
|
PDF statistics:
|
||||||
|
47 PDF objects out of 1000 (max. 8388607)
|
||||||
|
0 named destinations out of 1000 (max. 500000)
|
||||||
|
6 words of extra memory for PDF output out of 10000 (max. 10000000)
|
||||||
|
|
||||||
BIN
writeup/P2 Proposal.pdf
Normal file
BIN
writeup/P2 Proposal.pdf
Normal file
Binary file not shown.
110
writeup/P2 Proposal.tex
Normal file
110
writeup/P2 Proposal.tex
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
\documentclass[times, 08pt,twocolumn]{article}
|
||||||
|
\usepackage{latex8}
|
||||||
|
|
||||||
|
\usepackage{titlesec}
|
||||||
|
\usepackage[margin=0.5in]{geometry}
|
||||||
|
\usepackage{graphicx}
|
||||||
|
|
||||||
|
\titleformat{\section}{\large\bfseries}{\thesection}{1em}{}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\pagestyle{empty}
|
||||||
|
|
||||||
|
\title{A Baysian Approach to Collaborative Dish Selection}
|
||||||
|
\author{Team 10}
|
||||||
|
\date{February 23, 2012}
|
||||||
|
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
\section*{Introduction}
|
||||||
|
As anyone who has ever planned a catered event can attest, attempting
|
||||||
|
to satisfy the various palates, dietary requirements and tastes of a
|
||||||
|
group of diners can be a daunting task. This is particularly true
|
||||||
|
given the exponential number of dishes which can be created from a
|
||||||
|
small number of ingredients, as well has hard constraints such as
|
||||||
|
allergies and religious beliefs. Many professional catering services
|
||||||
|
handle this problem by allowing guests to select from a very limited
|
||||||
|
menu. We propose to develop a dish recommendation system
|
||||||
|
based on Bayesian Networks modeling user preferences and
|
||||||
|
which proposes meals that most likely match the varied tastes
|
||||||
|
of the customers, using a limited set of ingredients. This type of expert system
|
||||||
|
would be of great use to a catering service or restaurant which needs to rapdily decide on
|
||||||
|
a small number of dishes which would be acceptable for a large dinner party,
|
||||||
|
given diverse requirements and preferences.
|
||||||
|
|
||||||
|
\section*{Related Work}
|
||||||
|
Boekel and Corney propose using Bayesian Networks to model
|
||||||
|
consumer needs in food production chains \cite{vanboekel} \cite{corney}.
|
||||||
|
Janzen and Xiang propose an intelligent refrigerator capable of
|
||||||
|
generating meal plans based on inventory
|
||||||
|
and past food choices \cite{janzenxiang}. Baysian networks have also been
|
||||||
|
applied to recommendation systems before in on-line social
|
||||||
|
networks \cite{truyen} making predictions of the form
|
||||||
|
``if you bought those items what is the probability you would like to
|
||||||
|
buy that''. We suggest that these approaches are limited in that they only consider the preferences of a single (or supposed 'typical') user rather than a group.
|
||||||
|
|
||||||
|
\section*{Proposed Approach}
|
||||||
|
|
||||||
|
The approached problem is to pick a single meal which best meets the requirements
|
||||||
|
and tastes of different people dining together.
|
||||||
|
|
||||||
|
%\subsection*{Application Framework}
|
||||||
|
First, we will accumulate a diverse collection of sample recipes using the open source AnyMeal application
|
||||||
|
to convert freely available MealMaster format (flat file) recipes to XML format for input into the Java Bayesian network / optimization
|
||||||
|
application we propose.
|
||||||
|
|
||||||
|
%\subsection*{Data Collection}
|
||||||
|
Next, we will gather data representing several diners' preference for approximately 20 meals using a simple survey of the type 'rate on a scale of 1 to 10, 10 being favorite and 1 being least favorite'. A value of 0 for a given dish will be taken to mean that one or more ingredients trigger and allergy or violate a religous constraint, and the diner cannot consume the dish.
|
||||||
|
|
||||||
|
%\subsection*{Model}
|
||||||
|
We will model each individual user's preferences and needs
|
||||||
|
as a Bayesian network, which means a set of independence and
|
||||||
|
conditional independence relationships between variables
|
||||||
|
\cite{russelnorvig}. Our model consists of 4 layers,
|
||||||
|
each modeling a different aspect of taste and needs.
|
||||||
|
In the first layer we capture general meal preferences, like
|
||||||
|
being vegetarian or not liking your food steamed.
|
||||||
|
The second layer models a general preference towards
|
||||||
|
different food categories like vegetables or beef.
|
||||||
|
As one can see, the food categories are dependent
|
||||||
|
on the general meal preference. For example
|
||||||
|
being vegetarian will exclude beef and will
|
||||||
|
support vegetables. The third category models
|
||||||
|
different ingredients. Each ingredient is conditioned
|
||||||
|
by the food category it belongs to.
|
||||||
|
In the last layer we have hard constraints like allergies
|
||||||
|
(that will exclude a particular ingredient) or
|
||||||
|
the overall calorie content of the meal given
|
||||||
|
someone suffers from diabetes.
|
||||||
|
The overall net is shown in Figure \ref{img:bayes_net}.
|
||||||
|
Given a recipe with a list of ingredients $I = i_1,...,i_n$
|
||||||
|
and a Bayesian network capturing user preferences
|
||||||
|
we can calculate the probability of users liking the dish as
|
||||||
|
$P(i_1 \wedge i_2 \wedge ... \wedge i_n) = \Pi_{i =
|
||||||
|
1}^{n} p(i_i \mid parents(i_i))$ \cite{russelnorvig}.
|
||||||
|
|
||||||
|
\begin{figure}
|
||||||
|
\centering
|
||||||
|
\includegraphics[width=\linewidth]{bayes.jpeg}
|
||||||
|
\caption{Our Baysian net modeling user preferences}
|
||||||
|
\label{img:bayes_net}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
In order to estimate the model parameters, the
|
||||||
|
system will be trained with statistics about taste
|
||||||
|
and preferences given a set of dishes with ratings
|
||||||
|
from multiple users. From that information we can directly calculate
|
||||||
|
the probabilities for the ingredients.
|
||||||
|
|
||||||
|
%\subsection*{Meal Optimization}
|
||||||
|
When learning the rest of the variables (that are not observed and therefore
|
||||||
|
hidden / latent) we will use Expectation Maximization \cite{russelnorvig}.
|
||||||
|
|
||||||
|
\section*{Evaluation}
|
||||||
|
The application model will be trained using a sparse subset (25-50\%) of the survey data and the optimization problem soled for the inferred constraints.
|
||||||
|
Next, we will calculate the correlation between the application's ranking of all dishes and the actual ranking as determined by the user surveys. We suggest that a high degree of correlation indicates that the system has the potential to accurately appraise constrained group food preferences for dishes which are not part of the survey, given sufficiently detailed recipe information.
|
||||||
|
|
||||||
|
\bibliographystyle{plain}
|
||||||
|
\bibliography{p2refs}
|
||||||
|
|
||||||
|
\end{document}
|
||||||
BIN
writeup/bayes.jpeg
Normal file
BIN
writeup/bayes.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 125 KiB |
157
writeup/latex8.sty
Normal file
157
writeup/latex8.sty
Normal file
@@ -0,0 +1,157 @@
|
|||||||
|
|
||||||
|
% ---------------------------------------------------------------
|
||||||
|
%
|
||||||
|
% $Id: latex8.sty,v 1.2 1995/09/15 15:31:13 ienne Exp $
|
||||||
|
%
|
||||||
|
% by Paolo.Ienne@di.epfl.ch
|
||||||
|
%
|
||||||
|
% ---------------------------------------------------------------
|
||||||
|
%
|
||||||
|
% no guarantee is given that the format corresponds perfectly to
|
||||||
|
% IEEE 8.5" x 11" Proceedings, but most features should be ok.
|
||||||
|
%
|
||||||
|
% ---------------------------------------------------------------
|
||||||
|
% with LaTeX2e:
|
||||||
|
% =============
|
||||||
|
%
|
||||||
|
% use as
|
||||||
|
% \documentclass[times,10pt,twocolumn]{article}
|
||||||
|
% \usepackage{latex8}
|
||||||
|
% \usepackage{times}
|
||||||
|
%
|
||||||
|
% ---------------------------------------------------------------
|
||||||
|
|
||||||
|
% with LaTeX 2.09:
|
||||||
|
% ================
|
||||||
|
%
|
||||||
|
% use as
|
||||||
|
% \documentstyle[times,art10,twocolumn,latex8]{article}
|
||||||
|
%
|
||||||
|
% ---------------------------------------------------------------
|
||||||
|
% with both versions:
|
||||||
|
% ===================
|
||||||
|
%
|
||||||
|
% specify \pagestyle{empty} to omit page numbers in the final
|
||||||
|
% version
|
||||||
|
%
|
||||||
|
% specify references as
|
||||||
|
% \bibliographystyle{latex8}
|
||||||
|
% \bibliography{...your files...}
|
||||||
|
%
|
||||||
|
% use Section{} and SubSection{} instead of standard section{}
|
||||||
|
% and subsection{} to obtain headings in the form
|
||||||
|
% "1.3. My heading"
|
||||||
|
%
|
||||||
|
% ---------------------------------------------------------------
|
||||||
|
|
||||||
|
\typeout{IEEE 8.5 x 11-Inch Proceedings Style `latex8.sty'.}
|
||||||
|
|
||||||
|
% ten point helvetica bold required for captions
|
||||||
|
% in some sites the name of the helvetica bold font may differ,
|
||||||
|
% change the name here:
|
||||||
|
\font\tenhv = phvb at 08pt
|
||||||
|
% \font\tenhv = phvb7t at 09pt
|
||||||
|
|
||||||
|
% eleven point times bold required for second-order headings
|
||||||
|
\font\elvbf = cmbx10 scaled 1100
|
||||||
|
%\font\elvbf = ptmb scaled 1100
|
||||||
|
|
||||||
|
% set dimensions of columns, gap between columns, and paragraph indent
|
||||||
|
\setlength{\textheight}{8.8in}
|
||||||
|
% \setlength{\textheight}{9in}
|
||||||
|
\setlength{\textwidth}{6.875in}
|
||||||
|
% \setlength{\textwidth}{7in}
|
||||||
|
\setlength{\columnsep}{0.3125in}
|
||||||
|
\setlength{\topmargin}{0in}
|
||||||
|
\setlength{\headheight}{0in}
|
||||||
|
\setlength{\headsep}{0in}
|
||||||
|
\setlength{\parindent}{1pc}
|
||||||
|
\setlength{\oddsidemargin}{-.304in}
|
||||||
|
\setlength{\evensidemargin}{-.304in}
|
||||||
|
|
||||||
|
% memento from size10.clo
|
||||||
|
% \normalsize{\@setfontsize\normalsize\@xpt\@xiipt}
|
||||||
|
% \small{\@setfontsize\small\@ixpt{11}}
|
||||||
|
% \footnotesize{\@setfontsize\footnotesize\@viiipt{9.5}}
|
||||||
|
% \scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
|
||||||
|
% \tiny{\@setfontsize\tiny\@vpt\@vipt}
|
||||||
|
% \large{\@setfontsize\large\@xiipt{14}}
|
||||||
|
% \Large{\@setfontsize\Large\@xivpt{18}}
|
||||||
|
% \LARGE{\@setfontsize\LARGE\@xviipt{22}}
|
||||||
|
% \huge{\@setfontsize\huge\@xxpt{25}}
|
||||||
|
% \Huge{\@setfontsize\Huge\@xxvpt{30}}
|
||||||
|
|
||||||
|
\def\@maketitle
|
||||||
|
{
|
||||||
|
\newpage
|
||||||
|
\null
|
||||||
|
% \vskip .375in
|
||||||
|
\begin{center}
|
||||||
|
{\Large \bf \@title \par}
|
||||||
|
% additional two empty lines at the end of the title
|
||||||
|
% \vspace*{24pt}
|
||||||
|
{
|
||||||
|
\large
|
||||||
|
%\lineskip .5em
|
||||||
|
\begin{tabular}[t]{c}
|
||||||
|
\@author
|
||||||
|
\end{tabular}
|
||||||
|
\par
|
||||||
|
}
|
||||||
|
% additional small space at the end of the author name
|
||||||
|
%\vskip .5em
|
||||||
|
|
||||||
|
\vspace*{12pt}
|
||||||
|
\end{center}
|
||||||
|
}
|
||||||
|
|
||||||
|
\def\abstract
|
||||||
|
{%
|
||||||
|
\centerline{\large\bf Abstract}%
|
||||||
|
\vspace*{12pt}%
|
||||||
|
\it%
|
||||||
|
}
|
||||||
|
|
||||||
|
\def\endabstract
|
||||||
|
{
|
||||||
|
% additional empty line at the end of the abstract
|
||||||
|
\vspace*{12pt}
|
||||||
|
}
|
||||||
|
|
||||||
|
\def\affiliation#1{\gdef\@affiliation{#1}} \gdef\@affiliation{}
|
||||||
|
|
||||||
|
\def\email#1{\gdef\@email{#1}}
|
||||||
|
\gdef\@email{}
|
||||||
|
|
||||||
|
\newlength{\@ctmp}
|
||||||
|
\newlength{\@figindent}
|
||||||
|
\setlength{\@figindent}{1pc}
|
||||||
|
|
||||||
|
\long\def\@makecaption#1#2{
|
||||||
|
% \vskip 10pt
|
||||||
|
\setbox\@tempboxa\hbox{\tenhv\noindent #1.~#2}
|
||||||
|
\setlength{\@ctmp}{\hsize}
|
||||||
|
\addtolength{\@ctmp}{-\@figindent}\addtolength{\@ctmp}{-\@figindent}
|
||||||
|
% IF longer than one indented paragraph line
|
||||||
|
\ifdim \wd\@tempboxa >\@ctmp
|
||||||
|
% THEN set as an indented paragraph
|
||||||
|
\begin{list}{}{\leftmargin\@figindent \rightmargin\leftmargin}
|
||||||
|
\item[]\tenhv #1.~#2\par
|
||||||
|
\end{list}
|
||||||
|
\else
|
||||||
|
% ELSE center
|
||||||
|
\hbox to\hsize{\hfil\box\@tempboxa\hfil}
|
||||||
|
\fi}
|
||||||
|
|
||||||
|
% correct heading spacing and type
|
||||||
|
\def\section{\@startsection {section}{1}{\z@}
|
||||||
|
{10pt plus 1pt minus 1pt}{10pt plus 1pt minus 1pt} {\large\bf}}
|
||||||
|
\def\subsection{\@startsection {subsection}{2}{\z@}
|
||||||
|
{13pt plus 2pt minus 2pt}{13pt plus 2pt minus 2pt} {\elvbf}}
|
||||||
|
|
||||||
|
% add the period after section numbers
|
||||||
|
\newcommand{\Section}[1]{\section{\hskip -1em.~#1}}
|
||||||
|
\newcommand{\SubSection}[1]{\subsection{\hskip -1em.~#1}}
|
||||||
|
|
||||||
|
% end of file latex8.sty
|
||||||
|
% ---------------------------------------------------------------
|
||||||
2
writeup/missfont.log
Normal file
2
writeup/missfont.log
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
mktextfm phvb
|
||||||
|
mktextfm phvb
|
||||||
49
writeup/p2refs.bib
Normal file
49
writeup/p2refs.bib
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
@BOOK{russelnorvig,
|
||||||
|
title = {Artificial Intelligence; A Modern Approach},
|
||||||
|
author = {Russel, S. and Norvig, P.},
|
||||||
|
publisher = {Prentice Hall},
|
||||||
|
edition = {Third},
|
||||||
|
year = {2010}
|
||||||
|
}
|
||||||
|
|
||||||
|
@ARTICLE{vanboekel,
|
||||||
|
AUTHOR = {van Boekel, M.A.J.S., Stein, A. and van Bruggen, A.H.C.},
|
||||||
|
TITLE = {{Bayesian Statistics} and {Quality Modelling} in the {Agro-food Production Chain}},
|
||||||
|
YEAR = {2004},
|
||||||
|
JOURNAL = {Proceedings of the Frontis workshop}
|
||||||
|
CITY = {Wageningen}
|
||||||
|
VOLUME = {3}
|
||||||
|
}
|
||||||
|
|
||||||
|
@ARTICLE{corney,
|
||||||
|
AUTHOR = {David Corney},
|
||||||
|
TITLE = {{Designing Food} with {Bayesian Belief Networks}},
|
||||||
|
YEAR = {2000},
|
||||||
|
JOURNAL = {ACDM}
|
||||||
|
CITY = {London}
|
||||||
|
}
|
||||||
|
|
||||||
|
@ARTICLE{truyen,
|
||||||
|
AUTHOR = {Tran The Truyen and Dinh Q. Phung and Svetha Venkatesh},
|
||||||
|
TITLE = {Preference {Networks}: {Probabilistic} {Models} for {Recommendation} {Systems}},
|
||||||
|
YEAR = {2007},
|
||||||
|
JOURNAL = {Proceedings of the {Sixth Australasian Conference} on {Data Mining}}
|
||||||
|
CITY = {London}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ARTICLE{janzenxiang,
|
||||||
|
AUTHOR = {Janzen, M. and Xiang, Y.},
|
||||||
|
TITLE = {{Probabilistic Reasoning} in {Meal Planning} in {Intelligent Fridges}},
|
||||||
|
YEAR = {2003},
|
||||||
|
JOURNAL = {16th Conference of the Canadian Society for Computational Studies of Intelligence}
|
||||||
|
CITY = {Guelph}
|
||||||
|
}
|
||||||
|
|
||||||
|
@MISC{murphy,
|
||||||
|
AUTHOR = {Kevin Murphy},
|
||||||
|
TITLE = {A {Brief Introduction} to {Graphical Models} and {Bayesian Networks}},
|
||||||
|
HOWPUBLISHED = {http://www.cs.ubc.ca/~murphyk/Bayes/bnintro.html},
|
||||||
|
YEAR = {1998},
|
||||||
|
NOTE = "[Online; accessed 22-Feb-2012]"
|
||||||
|
}
|
||||||
11
writeup/p2refs.log
Normal file
11
writeup/p2refs.log
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdftex 2012.1.30) 22 FEB 2012 19:39
|
||||||
|
entering extended mode
|
||||||
|
**C:/Users/Woody/Downloads/paper3/paper3/p2refs.bib
|
||||||
|
(C:/Users/Woody/Downloads/paper3/paper3/p2refs.bib)
|
||||||
|
*
|
||||||
|
! Emergency stop.
|
||||||
|
<*> ...rs/Woody/Downloads/paper3/paper3/p2refs.bib
|
||||||
|
|
||||||
|
End of file on the terminal!
|
||||||
|
|
||||||
|
! ==> Fatal error occurred, no output PDF file produced!
|
||||||
20
writeup/texput.log
Normal file
20
writeup/texput.log
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2012.2.29) 29 FEB 2012 11:12
|
||||||
|
entering extended mode
|
||||||
|
%&-line parsing enabled.
|
||||||
|
**quit
|
||||||
|
|
||||||
|
! Emergency stop.
|
||||||
|
<*> quit
|
||||||
|
|
||||||
|
End of file on the terminal!
|
||||||
|
|
||||||
|
|
||||||
|
Here is how much of TeX's memory you used:
|
||||||
|
3 strings out of 495061
|
||||||
|
105 string characters out of 1182621
|
||||||
|
45108 words of memory out of 3000000
|
||||||
|
3282 multiletter control sequences out of 15000+50000
|
||||||
|
3640 words of font info for 14 fonts, out of 3000000 for 9000
|
||||||
|
28 hyphenation exceptions out of 8191
|
||||||
|
0i,0n,0p,11b,6s stack positions out of 5000i,500n,10000p,200000b,50000s
|
||||||
|
! ==> Fatal error occurred, no output PDF file produced!
|
||||||
Reference in New Issue
Block a user