diff --git a/writeup/P2 Proposal.aux b/writeup/P2 Proposal.aux index add977d..d41da4d 100644 --- a/writeup/P2 Proposal.aux +++ b/writeup/P2 Proposal.aux @@ -3,7 +3,6 @@ \citation{corney} \citation{janzenxiang} \citation{truyen} -\citation{russelnorvig} \citation{murphy} \bibstyle{plain} \bibdata{p2refs} diff --git a/writeup/P2 Proposal.log b/writeup/P2 Proposal.log index e4f8572..d98a8ee 100644 --- a/writeup/P2 Proposal.log +++ b/writeup/P2 Proposal.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2011.7.20) 12 MAR 2012 12:48 +This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2011.7.20) 12 MAR 2012 13:01 entering extended mode restricted \write18 enabled. %&-line parsing enabled. @@ -212,7 +212,7 @@ e File: bayes.png Graphic file (type png) -LaTeX Warning: Citation `murphy' on page 1 undefined on input line 117. +LaTeX Warning: Citation `murphy' on page 1 undefined on input line 119. [1{/usr/local/texlive/2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map} @@ -221,12 +221,9 @@ LaTeX Warning: Citation `murphy' on page 1 undefined on input line 117. Package amsmath Warning: Foreign command \over; (amsmath) \frac or \genfrac should be used instead -(amsmath) on input line 137. +(amsmath) on input line 139. -(./P2 Proposal.bbl -Underfull \vbox (badness 2512) has occurred while \output is active [] - -) [2 <./bayes.png (PNG copy)>] (./P2 Proposal.aux) +(./P2 Proposal.bbl) [2 <./bayes.png (PNG copy)>] (./P2 Proposal.aux) LaTeX Warning: There were undefined references. @@ -234,11 +231,11 @@ LaTeX Warning: There were undefined references. Here is how much of TeX's memory you used: 2184 strings out of 493747 28746 string characters out of 3143546 - 93189 words of memory out of 3000000 + 94189 words of memory out of 3000000 5461 multiletter control sequences out of 15000+200000 11026 words of font info for 36 fonts, out of 3000000 for 9000 714 hyphenation exceptions out of 8191 - 38i,8n,28p,406b,211s stack positions out of 5000i,500n,10000p,200000b,50000s + 38i,8n,28p,406b,212s stack positions out of 5000i,500n,10000p,200000b,50000s {/usr/local/texlive/2010/texmf-dist/fonts/enc/dvips/base/8r.enc} -Output written on "P2 Proposal.pdf" (2 pages, 194457 bytes). +Output written on "P2 Proposal.pdf" (2 pages, 194400 bytes). PDF statistics: 53 PDF objects out of 1000 (max. 8388607) 37 compressed objects within 1 object stream diff --git a/writeup/P2 Proposal.pdf b/writeup/P2 Proposal.pdf index 5762059..61065f3 100644 Binary files a/writeup/P2 Proposal.pdf and b/writeup/P2 Proposal.pdf differ diff --git a/writeup/P2 Proposal.tex b/writeup/P2 Proposal.tex index c0ce90f..38bbdc5 100644 --- a/writeup/P2 Proposal.tex +++ b/writeup/P2 Proposal.tex @@ -70,15 +70,20 @@ recipes to XML format for input into our application. We will gathered 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'. -Furthermore we collected data for vegetarians and vegans. - +Furthermore we collected data for vegetarians and allergies. %daniel is here \paragraph*{Knowledge Engineering} -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}. + + +We model users' preferences using +a bayes net. In the first layer in Figure \ref{img:bayes_net} +we capture controll variables like vegan or allergies. +Those are modeled as boolean variables. +If the user is allergic or a vegetarian, it will set the variable allergic +to 0. + +In order to model 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