update bayesian network
[ker2014-2.git] / report / ass2-1.tex
index ea4f9ae..03b3569 100644 (file)
@@ -1 +1,52 @@
 \chapter{Probabilistic representation and reasoning (and burglars)}
+\section{Bayesian network and the conditional probability tables}
+\begin{figure}[H]
+       \caption{Bayesian network, visual representation}
+       \centering
+       \includegraphics[scale=0.5]{d1.eps}
+\end{figure}
+
+\strut\\
+\begin{tabular}{|l|l|}
+       \hline
+               & Burglar\\
+       \hline
+       T & $0.01$\\
+       F & $0.99$\\
+       \hline
+\end{tabular}
+\begin{tabular}{|l|l|}
+       \hline
+               & Earthquake\\
+       \hline
+       T & $0.01$\\
+       F & $0.99$\\
+       \hline
+\end{tabular}\\
+\begin{tabular}{|l|ll|}
+       \hline
+               & \multicolumn{2}{c|}{Alarm}\\
+       Burglar & T & F\\
+       \hline
+       T & $0.95$ & $0.05$\\
+       F & $0.00$ & $1.00$\\
+       \hline
+\end{tabular}
+\begin{tabular}{|l|ll|}
+       \hline
+               & \multicolumn{2}{c|}{Alarm}\\
+       Earthquake & T & F\\
+       \hline
+       T & $0.20$ & $0.80$\\
+       F & $0.00$ & $1.00$\\
+       \hline
+\end{tabular}
+\begin{tabular}{|l|ll|}
+       \hline
+               & \multicolumn{2}{c|}{Holmes}\\
+       Earthquake & T & F\\
+       \hline
+       T & $0.9998$ & $0.0002$\\
+       F & $0.00$ & $1.00$\\
+       \hline
+\end{tabular}