X
This commit is contained in:
@@ -221,12 +221,12 @@ public class FoodNetBuilder {
|
|||||||
public static BayesNet createDishNet(Survey survey, RecipeBook recipeBook, int startIndex, int endIndex) {
|
public static BayesNet createDishNet(Survey survey, RecipeBook recipeBook, int startIndex, int endIndex) {
|
||||||
BayesNet net = new BayesNet(VARIABLES);
|
BayesNet net = new BayesNet(VARIABLES);
|
||||||
|
|
||||||
net.setDistribution(new Variable(SOMEONE_VEGETARIAN, DOMAIN), vegi(survey));
|
// net.setDistribution(new Variable(SOMEONE_VEGETARIAN, DOMAIN), vegi(survey));
|
||||||
//net.setDistribution(new Variable(SOMEONE_ALLERGIC_NUTS, DOMAIN), allergicNuts(survey));
|
//net.setDistribution(new Variable(SOMEONE_ALLERGIC_NUTS, DOMAIN), allergicNuts(survey));
|
||||||
|
|
||||||
net.setDistribution(new Variable(CONTAINS_MEAT, DOMAIN), meat());
|
net.setDistribution(new Variable(CONTAINS_MEAT, DOMAIN), meat());
|
||||||
//net.setDistribution(new Variable(CONTAINS_NUTS, DOMAIN), nuts());
|
//net.setDistribution(new Variable(CONTAINS_NUTS, DOMAIN), nuts());
|
||||||
|
net.setDistribution(new Variable(SOMEONE_VEGETARIAN, DOMAIN), vegi(survey));
|
||||||
net.setDistribution(new Variable(CONTAINS_VEGETABLE, DOMAIN),
|
net.setDistribution(new Variable(CONTAINS_VEGETABLE, DOMAIN),
|
||||||
vegetables());
|
vegetables());
|
||||||
net.setDistribution(new Variable(CONTAINS_BEEF, DOMAIN), beef());
|
net.setDistribution(new Variable(CONTAINS_BEEF, DOMAIN), beef());
|
||||||
@@ -238,10 +238,11 @@ public class FoodNetBuilder {
|
|||||||
net.setDistribution(new Variable(TASTE, RATING_DOMAIN), taste());
|
net.setDistribution(new Variable(TASTE, RATING_DOMAIN), taste());
|
||||||
|
|
||||||
Ontology ontology = createOntology();
|
Ontology ontology = createOntology();
|
||||||
for (String category : ontology.getClasses()) {
|
// for (String category : ontology.getClasses()) {
|
||||||
net.connect(category, SOMEONE_VEGETARIAN);
|
// net.connect(category, SOMEONE_VEGETARIAN);
|
||||||
/*net.connect(category, SOMEONE_ALLERGIC_NUTS);*/
|
// /*net.connect(category, SOMEONE_ALLERGIC_NUTS);*/
|
||||||
}
|
// }
|
||||||
|
net.connect(SOMEONE_VEGETARIAN, CONTAINS_MEAT);
|
||||||
|
|
||||||
for (String thing : OBSERVED) {
|
for (String thing : OBSERVED) {
|
||||||
net.connect(thing, ontology.getInheritance().get(thing));
|
net.connect(thing, ontology.getInheritance().get(thing));
|
||||||
|
|||||||
@@ -1,21 +1,23 @@
|
|||||||
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2012.1.11) 12 MAR 2012 20:32
|
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2011.7.20) 12 MAR 2012 20:35
|
||||||
entering extended mode
|
entering extended mode
|
||||||
**D:/workspace/cs6601p2/writeup/P2*Proposal.tex
|
restricted \write18 enabled.
|
||||||
("D:/workspace/cs6601p2/writeup/P2 Proposal.tex"
|
%&-line parsing enabled.
|
||||||
LaTeX2e <2011/06/27>
|
**"P2 Proposal.tex"
|
||||||
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
|
(./P2 Proposal.tex
|
||||||
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
|
LaTeX2e <2009/09/24>
|
||||||
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
|
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
|
||||||
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
|
rman-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic, armenian
|
||||||
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
|
, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutch, u
|
||||||
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
|
kenglish, usenglishmax, esperanto, estonian, farsi, finnish, french, galician,
|
||||||
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
|
german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic, assamese,
|
||||||
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
|
bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panjabi, tamil,
|
||||||
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
|
telugu, indonesian, interlingua, irish, italian, kurmanji, lao, latin, latvian,
|
||||||
senglishmax, welsh, loaded.
|
lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portuguese, roma
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls"
|
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
|
||||||
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
|
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size10.clo"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo
|
||||||
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
|
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
|
||||||
)
|
)
|
||||||
\c@part=\count79
|
\c@part=\count79
|
||||||
@@ -29,13 +31,12 @@ File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
|
|||||||
\abovecaptionskip=\skip41
|
\abovecaptionskip=\skip41
|
||||||
\belowcaptionskip=\skip42
|
\belowcaptionskip=\skip42
|
||||||
\bibindent=\dimen102
|
\bibindent=\dimen102
|
||||||
)
|
) (./latex8.sty
|
||||||
(D:\workspace\cs6601p2\writeup\latex8.sty
|
|
||||||
IEEE 8.5 x 11-Inch Proceedings Style `latex8.sty'.
|
IEEE 8.5 x 11-Inch Proceedings Style `latex8.sty'.
|
||||||
\@ctmp=\skip43
|
\@ctmp=\skip43
|
||||||
\@figindent=\skip44
|
\@figindent=\skip44
|
||||||
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\titlesec\titlesec.sty"
|
) (/usr/local/texlive/2010/texmf-dist/tex/latex/titlesec/titlesec.sty
|
||||||
Package: titlesec 2011/12/15 v2.10.0 Sectioning titles
|
Package: titlesec 2007/08/12 v2.8 Sectioning titles
|
||||||
\ttl@box=\box26
|
\ttl@box=\box26
|
||||||
\beforetitleunit=\skip45
|
\beforetitleunit=\skip45
|
||||||
\aftertitleunit=\skip46
|
\aftertitleunit=\skip46
|
||||||
@@ -46,56 +47,49 @@ Package: titlesec 2011/12/15 v2.10.0 Sectioning titles
|
|||||||
\titlewidthlast=\dimen106
|
\titlewidthlast=\dimen106
|
||||||
\titlewidthfirst=\dimen107
|
\titlewidthfirst=\dimen107
|
||||||
)
|
)
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphicx.sty"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||||
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
|
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
|
||||||
|
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/keyval.sty
|
||||||
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
|
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
|
||||||
\KV@toks@=\toks15
|
\KV@toks@=\toks15
|
||||||
)
|
)
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/graphics.sty
|
||||||
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
|
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
|
||||||
|
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\trig.sty"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/trig.sty
|
||||||
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
|
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
|
||||||
)
|
)
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\graphics.cfg"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/graphics.cfg
|
||||||
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
|
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
|
||||||
)
|
)
|
||||||
Package graphics Info: Driver file: pdftex.def on input line 91.
|
Package graphics Info: Driver file: pdftex.def on input line 91.
|
||||||
|
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\pdftex-def\pdftex.def"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/pdftex-def/pdftex.def
|
||||||
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
|
File: pdftex.def 2010/02/14 v0.04n 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
|
\Gread@gobject=\count87
|
||||||
))
|
))
|
||||||
\Gin@req@height=\dimen108
|
\Gin@req@height=\dimen108
|
||||||
\Gin@req@width=\dimen109
|
\Gin@req@width=\dimen109
|
||||||
)
|
)
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsmath.sty"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsmath/amsmath.sty
|
||||||
Package: amsmath 2000/07/18 v2.13 AMS math features
|
Package: amsmath 2000/07/18 v2.13 AMS math features
|
||||||
\@mathmargin=\skip47
|
\@mathmargin=\skip47
|
||||||
|
|
||||||
For additional information on amsmath, use the `?' option.
|
For additional information on amsmath, use the `?' option.
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amstext.sty"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsmath/amstext.sty
|
||||||
Package: amstext 2000/06/29 v2.01
|
Package: amstext 2000/06/29 v2.01
|
||||||
|
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsgen.sty"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsmath/amsgen.sty
|
||||||
File: amsgen.sty 1999/11/30 v2.0
|
File: amsgen.sty 1999/11/30 v2.0
|
||||||
\@emptytoks=\toks16
|
\@emptytoks=\toks16
|
||||||
\ex@=\dimen110
|
\ex@=\dimen110
|
||||||
))
|
))
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsbsy.sty"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsmath/amsbsy.sty
|
||||||
Package: amsbsy 1999/11/29 v1.2d
|
Package: amsbsy 1999/11/29 v1.2d
|
||||||
\pmbraise@=\dimen111
|
\pmbraise@=\dimen111
|
||||||
)
|
)
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ams\math\amsopn.sty"
|
(/usr/local/texlive/2010/texmf-dist/tex/latex/amsmath/amsopn.sty
|
||||||
Package: amsopn 1999/12/14 v2.01 operator names
|
Package: amsopn 1999/12/14 v2.01 operator names
|
||||||
)
|
)
|
||||||
\inf@bad=\count88
|
\inf@bad=\count88
|
||||||
@@ -140,7 +134,9 @@ LaTeX Info: Redefining \] on input line 2667.
|
|||||||
LaTeX Warning: Unused global option(s):
|
LaTeX Warning: Unused global option(s):
|
||||||
[times,08pt].
|
[times,08pt].
|
||||||
|
|
||||||
("D:\workspace\cs6601p2\writeup\P2 Proposal.aux")
|
(./P2 Proposal.aux)
|
||||||
|
\openout1 = `"P2 Proposal.aux"'.
|
||||||
|
|
||||||
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 11.
|
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: ... okay on input line 11.
|
||||||
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 11.
|
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 11.
|
||||||
@@ -154,7 +150,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: Checking defaults for U/cmr/m/n on input line 11.
|
||||||
LaTeX Font Info: ... okay on input line 11.
|
LaTeX Font Info: ... okay on input line 11.
|
||||||
|
|
||||||
("C:\Program Files (x86)\MiKTeX 2.9\tex\context\base\supp-pdf.mkii"
|
(/usr/local/texlive/2010/texmf-dist/tex/context/base/supp-pdf.mkii
|
||||||
[Loading MPS to PDF converter (version 2006.09.02).]
|
[Loading MPS to PDF converter (version 2006.09.02).]
|
||||||
\scratchcounter=\count100
|
\scratchcounter=\count100
|
||||||
\scratchdimen=\dimen119
|
\scratchdimen=\dimen119
|
||||||
@@ -165,20 +161,62 @@ LaTeX Font Info: ... okay on input line 11.
|
|||||||
\MPscratchCnt=\count103
|
\MPscratchCnt=\count103
|
||||||
\MPscratchDim=\dimen120
|
\MPscratchDim=\dimen120
|
||||||
\MPnumerator=\count104
|
\MPnumerator=\count104
|
||||||
\makeMPintoPDFobject=\count105
|
|
||||||
\everyMPtoPDFconversion=\toks22
|
\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
|
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
|
[] \OT1/cmr/bx/n/10 Data ac-cui-si-tion \OT1/cmr/m/n/10 We first ac-cu-mu-lated
|
||||||
a di-
|
a di-
|
||||||
[]
|
[]
|
||||||
|
|
||||||
<bayes.png, id=1, 993.7125pt x 596.2275pt>
|
<bayes.png, id=1, 987.69pt x 480.79625pt>
|
||||||
File: bayes.png Graphic file (type png)
|
File: bayes.png Graphic file (type png)
|
||||||
<use bayes.png>
|
<use bayes.png> [1{/usr/local/texlive/2010/texmf-var/fonts/map/pdftex/updmap/p
|
||||||
Package pdftex.def Info: bayes.png used on input line 105.
|
dftex.map}
|
||||||
(pdftex.def) Requested size: 237.13594pt x 142.27873pt.
|
|
||||||
[1{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}
|
|
||||||
|
|
||||||
|
|
||||||
]
|
]
|
||||||
@@ -192,13 +230,10 @@ Overfull \hbox (13.25346pt too wide) in paragraph at lines 174--202
|
|||||||
[][]
|
[][]
|
||||||
[]
|
[]
|
||||||
|
|
||||||
<BayesChefChart.png, id=14, 440.24475pt x 249.93375pt>
|
<BayesChefChart.png, id=15, 440.24475pt x 249.93375pt>
|
||||||
File: BayesChefChart.png Graphic file (type png)
|
File: BayesChefChart.png Graphic file (type png)
|
||||||
|
|
||||||
<use BayesChefChart.png>
|
<use BayesChefChart.png>
|
||||||
Package pdftex.def Info: BayesChefChart.png used on input line 205.
|
|
||||||
(pdftex.def) Requested size: 248.42812pt x 141.0374pt.
|
|
||||||
|
|
||||||
Overfull \hbox (11.29218pt too wide) in paragraph at lines 205--206
|
Overfull \hbox (11.29218pt too wide) in paragraph at lines 205--206
|
||||||
[][]
|
[][]
|
||||||
[]
|
[]
|
||||||
@@ -206,8 +241,7 @@ Overfull \hbox (11.29218pt too wide) in paragraph at lines 205--206
|
|||||||
|
|
||||||
LaTeX Warning: `!h' float specifier changed to `!ht'.
|
LaTeX Warning: `!h' float specifier changed to `!ht'.
|
||||||
|
|
||||||
("D:\workspace\cs6601p2\writeup\P2 Proposal.bbl" [2 <D:/workspace/cs6601p2/writ
|
(./P2 Proposal.bbl [2 <./bayes.png (PNG copy)>]
|
||||||
eup/bayes.png>]
|
|
||||||
Underfull \hbox (badness 10000) in paragraph at lines 16--20
|
Underfull \hbox (badness 10000) in paragraph at lines 16--20
|
||||||
[]\OT1/cmr/m/n/10 Kevin Mur-phy. A Brief In-tro-duc-tion
|
[]\OT1/cmr/m/n/10 Kevin Mur-phy. A Brief In-tro-duc-tion
|
||||||
[]
|
[]
|
||||||
@@ -224,31 +258,31 @@ Underfull \hbox (badness 10000) in paragraph at lines 16--20
|
|||||||
|
|
||||||
) [3
|
) [3
|
||||||
|
|
||||||
<D:/workspace/cs6601p2/writeup/BayesChefChart.png>]
|
<./BayesChefChart.png (PNG copy)>] (./P2 Proposal.aux) )
|
||||||
("D:\workspace\cs6601p2\writeup\P2 Proposal.aux") )
|
|
||||||
Here is how much of TeX's memory you used:
|
Here is how much of TeX's memory you used:
|
||||||
2023 strings out of 494045
|
2189 strings out of 493747
|
||||||
25481 string characters out of 3145969
|
28852 string characters out of 3143546
|
||||||
90183 words of memory out of 3000000
|
96196 words of memory out of 3000000
|
||||||
5325 multiletter control sequences out of 15000+200000
|
5465 multiletter control sequences out of 15000+200000
|
||||||
11026 words of font info for 36 fonts, out of 3000000 for 9000
|
11026 words of font info for 36 fonts, out of 3000000 for 9000
|
||||||
715 hyphenation exceptions out of 8191
|
714 hyphenation exceptions out of 8191
|
||||||
27i,8n,28p,712b,219s stack positions out of 5000i,500n,10000p,200000b,50000s
|
38i,8n,28p,684b,214s stack positions out of 5000i,500n,10000p,200000b,50000s
|
||||||
{C:/Program Files (x86)/MiKT
|
{/usr/local/texlive/20
|
||||||
eX 2.9/fonts/enc/dvips/fontname/8r.enc}<C:/Program Files (x86)/MiKTeX 2.9/fonts
|
10/texmf-dist/fonts/enc/dvips/base/8r.enc}</usr/local/texlive/2010/texmf-dist/f
|
||||||
/type1/public/amsfonts/cm/cmbx10.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/t
|
onts/type1/public/amsfonts/cm/cmbx10.pfb></usr/local/texlive/2010/texmf-dist/fo
|
||||||
ype1/public/amsfonts/cm/cmbx12.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/typ
|
nts/type1/public/amsfonts/cm/cmbx12.pfb></usr/local/texlive/2010/texmf-dist/fon
|
||||||
e1/public/amsfonts/cm/cmmi10.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1
|
ts/type1/public/amsfonts/cm/cmmi10.pfb></usr/local/texlive/2010/texmf-dist/font
|
||||||
/public/amsfonts/cm/cmmi7.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/pu
|
s/type1/public/amsfonts/cm/cmmi7.pfb></usr/local/texlive/2010/texmf-dist/fonts/
|
||||||
blic/amsfonts/cm/cmr10.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/publi
|
type1/public/amsfonts/cm/cmr10.pfb></usr/local/texlive/2010/texmf-dist/fonts/ty
|
||||||
c/amsfonts/cm/cmr12.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/a
|
pe1/public/amsfonts/cm/cmr12.pfb></usr/local/texlive/2010/texmf-dist/fonts/type
|
||||||
msfonts/cm/cmr7.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfo
|
1/public/amsfonts/cm/cmr7.pfb></usr/local/texlive/2010/texmf-dist/fonts/type1/p
|
||||||
nts/cm/cmsy10.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfont
|
ublic/amsfonts/cm/cmsy10.pfb></usr/local/texlive/2010/texmf-dist/fonts/type1/pu
|
||||||
s/cm/cmti10.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/urw/helvetic/uhv
|
blic/amsfonts/cm/cmti10.pfb></usr/local/texlive/2010/texmf-dist/fonts/type1/urw
|
||||||
b8a.pfb>
|
/helvetic/uhvb8a.pfb>
|
||||||
Output written on "P2 Proposal.pdf" (3 pages, 199662 bytes).
|
Output written on "P2 Proposal.pdf" (3 pages, 201837 bytes).
|
||||||
PDF statistics:
|
PDF statistics:
|
||||||
55 PDF objects out of 1000 (max. 8388607)
|
57 PDF objects out of 1000 (max. 8388607)
|
||||||
|
39 compressed objects within 1 object stream
|
||||||
0 named destinations out of 1000 (max. 500000)
|
0 named destinations out of 1000 (max. 500000)
|
||||||
11 words of extra memory for PDF output out of 10000 (max. 10000000)
|
11 words of extra memory for PDF output out of 10000 (max. 10000000)
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -70,30 +70,24 @@ scale of 1 to 10, 10 being favorite and 1 being least favorite'. Furthermore,
|
|||||||
|
|
||||||
%daniel is here
|
%daniel is here
|
||||||
\paragraph*{Knowledge Engineering}
|
\paragraph*{Knowledge Engineering}
|
||||||
|
We model the diners' various taste preferences using
|
||||||
|
a Bayes net. We model the taste
|
||||||
|
|
||||||
We model the diners' various taste preferences preferences using
|
|
||||||
a Bayes net. In the first layer in Figure \ref{img:bayes_net}
|
|
||||||
we capture control variables such as vegarian or allergy to nuts.
|
|
||||||
These were modeled as boolean variables, with 'true' indicating the presence of a constraint.
|
|
||||||
|
|
||||||
Our model consists of 4 layers,
|
|
||||||
each modeling a different aspect of taste or dietary requirement.
|
|
||||||
\begin{description}
|
\begin{description}
|
||||||
\item[Layer 1] General meal preferences such as
|
\item[Layer 1] The first layer models a general preference towards
|
||||||
being vegetarian or being allergic to nuts.
|
|
||||||
|
|
||||||
\item[Layer 2] The second layer models a general preference towards
|
|
||||||
different food categories like vegetables or meat.
|
different food categories like vegetables or meat.
|
||||||
As one can see, the food categories are dependent
|
As one can see, the food categories are dependent
|
||||||
on the general meal preference. For example
|
on the general meal preference. For example
|
||||||
being vegetarian will exclude meat and will
|
being vegetarian will exclude meat and will
|
||||||
support vegetables.
|
support vegetables.
|
||||||
|
|
||||||
\item[Layer 3] Specific flavors and ingredients. Each ingredient is conditioned
|
\item[Layer 2] Specific flavors and ingredients. Each ingredient is conditioned
|
||||||
by the food category to which it belongs.
|
by the food category to which it belongs.
|
||||||
|
|
||||||
\end{description}
|
\end{description}
|
||||||
|
|
||||||
|
If we need to model hard constraints, like
|
||||||
|
|
||||||
|
|
||||||
The overall net is shown in Figure \ref{img:bayes_net}.
|
The overall net is shown in Figure \ref{img:bayes_net}.
|
||||||
Given a recipe with a list of ingredients $I = i_1,...,i_n$
|
Given a recipe with a list of ingredients $I = i_1,...,i_n$
|
||||||
and a Bayesian network capturing user preferences
|
and a Bayesian network capturing user preferences
|
||||||
|
|||||||
Reference in New Issue
Block a user