Skip to content
ml-recall

#marginal-inference

2 questions from Probabilistic & Graphical Models

Timed test

2 questions · 2 min · score and explanations at the end

Take a test
Q 1 / 2Score 0 / 0

Question 1: Short answer

hardAI-checkedProbabilistic & Graphical Models

The factor tree below defines p(x1,…,x5)∝ϕA(x1) ϕB(x2) ϕC(x1,x2,x3) ϕD(x3,x4) ϕE(x3,x5) ϕF(x5)p(x_1, \ldots, x_5) \propto \phi_A(x_1)\,\phi_B(x_2)\,\phi_C(x_1, x_2, x_3)\,\phi_D(x_3, x_4)\,\phi_E(x_3, x_5)\,\phi_F(x_5) over binary variables, with ϕA=(2,4)\phi_A = (2, 4), ϕB=(4,4)\phi_B = (4, 4), ϕF=(1,8)\phi_F = (1, 8) (values for x=0,1x = 0, 1) and

x1x2x3x_1 x_2 x_3 000 100 010 110 001 101 011 111
ϕC\phi_C 4 2 2 6 2 6 6 4
(x3,x4)(x_3, x_4) or (x3,x5)(x_3, x_5) (0, 0) (1, 0) (0, 1) (1, 1)
ϕD(x3,x4)\phi_D(x_3, x_4) 8 2 2 6
ϕE(x3,x5)\phi_E(x_3, x_5) 3 6 6 3

Use the sum-product algorithm with x1x_1 as the root. What is p(x1=1)p(x_1 = 1)?

a probability, 4 decimals