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

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}