
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Due Date: Thursday, Sept 14th, 12:30pm
For this homework, you will be using SamIam, a Bayesian networks modelling tool from Adnan Darwiche’s automated reasoning group at UCLA: http://reasoning.cs.ucla.edu/samiam/ Download this tool and play around with it (There are tutorials included) to get a feel for how to use SamIam to design a Bayesian Network and do inference with it.
(a) At time step 2, the state in figure 1 was observed. What was the most likely initial state S? What is the probability of initial state S given the evidence? You can give a print-out from SamIam as a “proof” for any part of this question. (b) Let Xit be the value of the i’th cell at time step t. Use the Bayesian network you have constructed to explain why P (X it 0 |Xit+^0 +d t) = P (X it 0 ) if t + d is even.
(a) Use variable elimination to calculate P (Burglary|JohnCalls = true, M aryCalls = f alse) for the network in Figure 14.2 (page 494) in the textbook (Show your compu- tations). You can check the answer using SamIam. Count the number of arithmetic operations performed and compare it with the number performed by the enumeration algorithm. (b) Suppose a network has the form of a chain: a sequence of Boolean variables X 1 ,... , Xn where P arents(Xi) = {Xi− 1 } for i = 2,... , n. What is the complexity of computing P (X 1 |Xn = true) using enumeration? Using Variable elimination? (c) Prove that the complexity of running variable elimination on a polytree network is linear in the size of the tree for any variable ordering consistent with the network structure.
Figure 1: A one-dimensional game of life