Made 'steak' a type of 'beef'.

Updated write-up.
Updated chart.
This commit is contained in:
Woody Folsom
2012-03-12 22:11:41 -04:00
parent 60ef59e00b
commit 1a6407bdf0
6 changed files with 88 additions and 169 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -8,10 +8,9 @@
\bibdata{p2refs}
\bibcite{corney}{1}
\bibcite{janzenxiang}{2}
\bibcite{murphy}{3}
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Our Baysian net modeling user preferences}}{2}}
\newlabel{img:bayes_net}{{1}{2}}
\newlabel{rms-table}{{}{2}}
\bibcite{murphy}{3}
\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Estimated vs. Actual Survey Dish Ratings}}{2}}
\bibcite{truyen}{4}
\bibcite{vanboekel}{5}
\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Estimated vs. surveyed dish ratings}}{3}}

View File

@@ -1,23 +1,21 @@
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2011.7.20) 12 MAR 2012 20:35
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2012.1.11) 12 MAR 2012 22:10
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**"P2 Proposal.tex"
(./P2 Proposal.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic, armenian
, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutch, u
kenglish, usenglishmax, esperanto, estonian, farsi, finnish, french, galician,
german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic, assamese,
bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panjabi, tamil,
telugu, indonesian, interlingua, irish, italian, kurmanji, lao, latin, latvian,
lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portuguese, roma
nian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish,
turkmen, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
**D:/workspace/cs6601p2/writeup/P2*Proposal.tex
("D:/workspace/cs6601p2/writeup/P2 Proposal.tex"
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
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo
("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
@@ -31,12 +29,13 @@ File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (./latex8.sty
)
(D:\workspace\cs6601p2\writeup\latex8.sty
IEEE 8.5 x 11-Inch Proceedings Style `latex8.sty'.
\@ctmp=\skip43
\@figindent=\skip44
) (/usr/local/texlive/2010/texmf-dist/tex/latex/titlesec/titlesec.sty
Package: titlesec 2007/08/12 v2.8 Sectioning titles
) ("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
@@ -47,49 +46,56 @@ Package: titlesec 2007/08/12 v2.8 Sectioning titles
\titlewidthlast=\dimen106
\titlewidthfirst=\dimen107
)
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/graphicx.sty
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphicx.sty"
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/keyval.sty
("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
)
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/graphics.sty
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/trig.sty
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\trig.sty"
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
("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.
(/usr/local/texlive/2010/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2010/02/14 v0.04n Graphics/color for pdfTeX
("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=\count87
))
\Gin@req@height=\dimen108
\Gin@req@width=\dimen109
)
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsmath/amsmath.sty
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsmath.sty"
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip47
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsmath/amstext.sty
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amstext.sty"
Package: amstext 2000/06/29 v2.01
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsmath/amsgen.sty
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsgen.sty"
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks16
\ex@=\dimen110
))
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsmath/amsbsy.sty
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsbsy.sty"
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen111
)
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsmath/amsopn.sty
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsopn.sty"
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count88
@@ -134,9 +140,7 @@ LaTeX Info: Redefining \] on input line 2667.
LaTeX Warning: Unused global option(s):
[times,08pt].
(./P2 Proposal.aux)
\openout1 = `"P2 Proposal.aux"'.
("D:\workspace\cs6601p2\writeup\P2 Proposal.aux")
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 11.
LaTeX Font Info: ... okay on input line 11.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 11.
@@ -150,7 +154,7 @@ LaTeX Font Info: ... okay on input line 11.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 11.
LaTeX Font Info: ... okay on input line 11.
(/usr/local/texlive/2010/texmf-dist/tex/context/base/supp-pdf.mkii
("C:\Program Files (x86)\MiKTeX 2.9\tex\context\base\supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count100
\scratchdimen=\dimen119
@@ -161,53 +165,9 @@ LaTeX Font Info: ... okay on input line 11.
\MPscratchCnt=\count103
\MPscratchDim=\dimen120
\MPnumerator=\count104
\makeMPintoPDFobject=\count105
\everyMPtoPDFconversion=\toks22
) (/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2010/04/01 v0.9 Utility functions of pdfTeX for LuaTeX (HO)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/message (HO)
)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2010/04/26 v1.7 LaTeX kernel commands for general use (HO)
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
)
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2007/09/30 v1.0 Managing graphics extensions (HO)
)
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2010/02/22 v3.7 Keyval support for LaTeX options (HO)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2010/03/01 v1.9 Key value parser (HO)
(/usr/local/texlive/2010/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2010/01/28 v1.3 Prefix for e-TeX command names (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
Package grfext Info: Graphics extension search list:
(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 436.
(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
Underfull \hbox (badness 4254) in paragraph at lines 67--70
[] \OT1/cmr/bx/n/10 Data ac-cui-si-tion \OT1/cmr/m/n/10 We first ac-cu-mu-lated
a di-
@@ -215,33 +175,33 @@ Underfull \hbox (badness 4254) in paragraph at lines 67--70
<bayes.png, id=1, 987.69pt x 480.79625pt>
File: bayes.png Graphic file (type png)
<use bayes.png> [1{/usr/local/texlive/2010/texmf-var/fonts/map/pdftex/updmap/p
dftex.map}
<use bayes.png>
Package pdftex.def Info: bayes.png used on input line 99.
(pdftex.def) Requested size: 237.13594pt x 115.43013pt.
[1{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}
]
Package amsmath Warning: Foreign command \over;
(amsmath) \frac or \genfrac should be used instead
(amsmath) on input line 139.
(amsmath) on input line 133.
Overfull \hbox (13.25346pt too wide) in paragraph at lines 174--202
[][]
[]
LaTeX Warning: Reference `rms-table' on page 2 undefined on input line 150.
<BayesChefChart.png, id=15, 440.24475pt x 249.93375pt>
<BayesChefChart.png, id=14, 426.99525pt x 313.77225pt>
File: BayesChefChart.png Graphic file (type png)
<use BayesChefChart.png>
Overfull \hbox (11.29218pt too wide) in paragraph at lines 205--206
Package pdftex.def Info: BayesChefChart.png used on input line 154.
(pdftex.def) Requested size: 248.42812pt x 182.55777pt.
Overfull \hbox (11.29218pt too wide) in paragraph at lines 154--155
[][]
[]
LaTeX Warning: `!h' float specifier changed to `!ht'.
(./P2 Proposal.bbl [2 <./bayes.png (PNG copy)>]
("D:\workspace\cs6601p2\writeup\P2 Proposal.bbl"
Underfull \hbox (badness 10000) in paragraph at lines 16--20
[]\OT1/cmr/m/n/10 Kevin Mur-phy. A Brief In-tro-duc-tion
[]
@@ -256,33 +216,36 @@ Underfull \hbox (badness 10000) in paragraph at lines 16--20
\OT1/cmr/m/n/10 works. http://www.cs.ubc.ca/ mur-
[]
) [3
[2 <D:/workspace/cs6601p2/writeup/bayes.png> <D:/workspace/cs6601p2/writeup/Bay
esChefChart.png>]) [3
<./BayesChefChart.png (PNG copy)>] (./P2 Proposal.aux) )
] ("D:\workspace\cs6601p2\writeup\P2 Proposal.aux")
LaTeX Warning: There were undefined references.
)
Here is how much of TeX's memory you used:
2189 strings out of 493747
28852 string characters out of 3143546
96196 words of memory out of 3000000
5465 multiletter control sequences out of 15000+200000
2023 strings out of 494045
25481 string characters out of 3145969
87176 words of memory out of 3000000
5325 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,684b,214s stack positions out of 5000i,500n,10000p,200000b,50000s
{/usr/local/texlive/20
10/texmf-dist/fonts/enc/dvips/base/8r.enc}</usr/local/texlive/2010/texmf-dist/f
onts/type1/public/amsfonts/cm/cmbx10.pfb></usr/local/texlive/2010/texmf-dist/fo
nts/type1/public/amsfonts/cm/cmbx12.pfb></usr/local/texlive/2010/texmf-dist/fon
ts/type1/public/amsfonts/cm/cmmi10.pfb></usr/local/texlive/2010/texmf-dist/font
s/type1/public/amsfonts/cm/cmmi7.pfb></usr/local/texlive/2010/texmf-dist/fonts/
type1/public/amsfonts/cm/cmr10.pfb></usr/local/texlive/2010/texmf-dist/fonts/ty
pe1/public/amsfonts/cm/cmr12.pfb></usr/local/texlive/2010/texmf-dist/fonts/type
1/public/amsfonts/cm/cmr7.pfb></usr/local/texlive/2010/texmf-dist/fonts/type1/p
ublic/amsfonts/cm/cmsy10.pfb></usr/local/texlive/2010/texmf-dist/fonts/type1/pu
blic/amsfonts/cm/cmti10.pfb></usr/local/texlive/2010/texmf-dist/fonts/type1/urw
/helvetic/uhvb8a.pfb>
Output written on "P2 Proposal.pdf" (3 pages, 201837 bytes).
715 hyphenation exceptions out of 8191
27i,8n,28p,716b,219s stack positions out of 5000i,500n,10000p,200000b,50000s
{C:/Program Files (x86)/MiKTeX 2.9/fonts/enc/dvips/fontname/8r.enc}<C:/Progra
m Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx10.pfb><C:/Program
Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx12.pfb><C:/Program Fi
les (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi10.pfb><C:/Program File
s (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi7.pfb><C:/Program Files (
x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb><C:/Program Files (x86
)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr12.pfb><C:/Program Files (x86)/M
iKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr7.pfb><C:/Program Files (x86)/MiKTe
X 2.9/fonts/type1/public/amsfonts/cm/cmsy10.pfb><C:/Program Files (x86)/MiKTeX
2.9/fonts/type1/public/amsfonts/cm/cmti10.pfb><C:/Program Files (x86)/MiKTeX 2.
9/fonts/type1/urw/helvetic/uhvb8a.pfb>
Output written on "P2 Proposal.pdf" (3 pages, 190917 bytes).
PDF statistics:
57 PDF objects out of 1000 (max. 8388607)
39 compressed objects within 1 object stream
55 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
11 words of extra memory for PDF output out of 10000 (max. 10000000)

Binary file not shown.

View File

@@ -11,7 +11,7 @@
\begin{document}
\pagestyle{empty}
\title{A Baysian Approach to Collaborative Dish Selection}
\title{A Bayesian Approach to Collaborative Dish Selection}
\author{Team 10}
\date{February 23, 2012}
@@ -149,57 +149,14 @@ The application model will be trained using a sparse subset (50\%) of the survey
Next, we 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. As \ref{rms-table} shows, the estimated food preferences are quite close to the actual mean ratings over all diners for the dishes which were not used to train the Bayes net. The root mean-square-error for calculated vs. surveyed meal preferences is approximately 1.0.
%% actual data from non-constrained (Allergy etc) trial run
% TASTE for Southwest Smoothie [DAIRY] : 5 0.14272807979501637
% TASTE for Bayou Shrimp Creole [TOMATO] : 5 0.015864055945522846
% TASTE for Crab Burgers [EGGS] : 5 0.14272807979501637
% TASTE for Broiled Flounder [GENERIC_NUTS, EGGS] : 5 0.14272807979501637
% TASTE for Baked Steak And Lima Beans [TOMATO, SUGAR] : 5 0.015864055945522846
% TASTE for Eggplant Lasagna [GLUTEN] : 5 0.14272807979501637
% TASTE for Salisbury Steak with Mushroom Sauce [GLUTEN, DAIRY, BEEF] : 4 0.020337720115187766
% TASTE for Meatless Loaf [SPICE] : 5 0.14272807979501637
% TASTE for Lemon Pork Chops [PORK, SUGAR] : 5 0.006727267528344914
% TASTE for Fava Bean Burgers [EGGS, POTATO] : 3 0.005331713336331368
% TASTE for Angel Hair Pesto Primavera [GENERIC_NUTS, SPICE] : 5 0.14272807979501637
% TASTE for Kahlua Cake [] : 5 0.14272807979501637
%%
%\begin{center}
\begin{tabular}{ | l | l | l | }
\hline
Southwest Smoothie: & &\\
DAIRY & 1.2 & 5.5 \\ \hline
Bayou Shrimp Creole: & &\\
TOMATO & & 3.75 \\ \hline
Crab Burgers: & &\\
EGGS & & 3.75 \\ \hline
Broiled Flounder: & &\\
GENERIC NUTS, EGGS & & 3.75 \\ \hline
Baked Steak And Lima Beans: & &\\
TOMATO, SUGAR & & 3.75 \\ \hline
Eggplant Lasagna: & &\\
GLUTEN & & 5.25 \\ \hline
Salisbury Steak with Mushroom Sauce: & &\\
GLUTEN, DAIRY, BEEF & & 3.75 \\ \hline
Meatless Loaf: & &\\
SPICE & & 5.25 \\ \hline
Lemon Pork Chops: & &\\
PORK, SUGAR & & 5.25 \\ \hline
Fava Bean Burgers: & &\\
EGGS, POTATO & & 5.25 \\ \hline
Angel Hair Pesto Primavera: & &\\
GENERIC NUTS, SPICE & & 5.25 \\ \hline
Kahlua Cake & & 4.5 \\ \hline
\label{rms-table}
\end{tabular}
%\end{center}
\begin{figure}[h!]
\centering
\includegraphics[width=0.5 \textwidth]{BayesChefChart.png}
\caption{Estimated vs. surveyed dish ratings}
\caption{Estimated vs. Actual Survey Dish Ratings}
\end{figure}
Note the outlier at Dish \#2 (Bayou Shrimp Creole). The strong preference for this dish is a result of the ingredient list containing primarily shrimp and tomato. Unlike beef and pork, the seafood category was not implemented in the knowledge enginerring of the net. Consequently, this dish is incorrectly deemed to be vegetarian-compatible. The same issue had previously occurred at Dish \#5 (Baked Steak and Lima Beans) until 'steak' was added to the recipe parser as a synonym for beef, and therefore a type of meat.
\bibliographystyle{plain}
\bibliography{p2refs}