Consider the variable elimination algorithm in Figure 14.11. a. Section 14.4 applies variable elimination to the query

Question:

Consider the variable elimination algorithm in Figure 14.11.

a. Section 14.4 applies variable elimination to the query 

P(Burglary | JohnCalls = true,MaryCalls = true). 

Perform the calculations indicated and check that the answer is correct.

b. Count the number of arithmetic operations performed, and compare it with the number performed by the enumeration algorithm.

c. Suppose a network has the form of a chain: a sequence of Boolean variables X1, . . . ,Xn where Parents(Xi)={Xiˆ’1} for i=2, . . . , n. What is the complexity of computing P(X1 |Xn =true) using enumeration? Using variable elimination?

d. 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 14.11

function ELIMINATION-ASK(X, e, bn) returns a distribution over X inputs: X, the query variable e, observed values for va

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: