Starting from:

$30

COMP9418- Assignment 1 Solved

Recall the guidance regarding plagiarism in the course introduction: this applies to this homework and if evidence of plagiarism is detected it may result in penalties ranging from loss of marks to suspension.
1          [100 Marks] Inference in Directed Graphical Models
Consider the Bayesian network in fig. 1 and a corresponding valid Junction Tree in fig. 2.



Figure 1: Bayesian network.

This graphical model corresponds to a simplified instance of the model proposed by Williams et al. (2006) for condition monitoring in a neonatal intensive care unit. You can read more about the problem in the reference provided but tracking this and other references will not help you solve this assignment. The network is composed of true states Fi, artifactual states Mi and observations Ti for i = 0,1,2. The main task in these types of models is, given observations COMP9418, UNSW Sydney      Advanced Topics in Statistical Machine Learning, 18s2



Figure 2: A valid Junction Tree corresponding to the Bayesian network given in fig. 1.

at time i, to infer the configuration of the underlying true state and how much it has been obscured by artifacts. The variables Ti are discrete with states {low,medium,high} and Fi,Mi are binary variables taking on values in {true,false}.

You are also given the following conditional probability tables (cpts):

P(F0 = true) = 0.25
P(M0 = true) = 0.12
P(F1 = true|F0 = false) = 0.1
P(M1 = true|M0 = false) = 0.05
P(F1 = true|F0 = true) = 0.9
P(M1 = true|M0 = true) = 0.95
P(F2 = true|F1 = false) = 0.33
P(M2 = true|M1 = false) = 0.25
P(F2 = true|F1 = true) = 0.2
P(M2 = true|M1 = true) = 0.68
Table 1: cpt for P(Ti = ti|Mi = mi,Fi = fi) for i = 0,1,2.



In the questions below, unless otherwise stated explicitly, you must show all your working. Omission of details or derivations may yield a reduction in the corresponding marks.

a)    [10 marks] Write down the corresponding joint distribution P(M0,M1,M2,F0,F1,F2,T0,T1,T2).

b)   [20 marks] Calculate P(M0|T1 = low) efficiently using Variable (i.e. Bucket) Elimination.

c)    [20 marks] Using the Junction Tree provided in fig. 2 along with the message-passage mechanism in the Junction Tree Algorithm (jta), calculate P(F1|T0 = low,T1 = medium).



d)   [20 marks] Provide an elimination order of nodes in the Bayesian network such that the created cliques give rise to the the Junction Tree of fig. 2. Note that you need to moralise the graph first.

e)    [15 marks] Calculate P(M0,M2|T1 = medium) using the jta.

f)     [15 marks] Suppose edges T0 → T1 and T1 → T2 are added to the original Bayesian network. Construct a valid Junction Tree corresponding to this new Bayesian network.

More products