天天看點

斯坦福-随機圖模型-week1.1_斯坦福-随機圖模型-week1.1

title: 斯坦福-随機圖模型-week1.1

tags: note

notebook: 6- 英文課程-9-Probabilistic Graphical Models 1: Representation

---

斯坦福-随機圖模型-week1.1

練習

1。第 1 個問題

Factor product.

Let X,Y and Z be binary variables.

If ϕ1(X,Y) and ϕ2(Y,Z) are the factors shown below, compute the selected entries (marked by a '?') in the factor ψ(X,Y,Z)=ϕ1(X,Y)⋅ϕ2(Y,Z), giving your answer according to the ordering of assignments to variables as shown below.

Separate each of the 3 entries of the factor with spaces, e.g., an answer of

0.1 0.2 0.3

means that ψ(1,1,1)=0.1, ψ(1,2,1)=0.2, and ψ(2,2,2)=0.3. Give your answers as exact decimals without any trailing zeroes.

0.16 0.45 0.6

在此輸入您的回答

1

point

2。第 2 個問題

Factor reduction.

Let X,Z be binary variables, and let Y be a variable that takes on values 1, 2, or 3.

Now say we observe Y=1. If ϕ(X,Y,Z) is the factor shown below, compute the missing entries of the reduced factor ψ(X,Z) given that Y=1, giving your answer according to the ordering of assignments to variables as shown below.

As before, separate the 4 entries of the factor by spaces.

14 60 4 59

第 3 個問題1

3。第 3 個問題

Properties of independent variables.

Assume that A and B are independent random variables. Which of the following options are always true? You may select 1 or more options.

P(B|A)=P(B)

P(A|B)=P(A)

P(A)+P(B)=1

P(A)=P(B)

4。第 4 個問題

Factor marginalization.

If ϕ(X,Y,Z) is the factor shown below, compute the entries of the factor

ψ(Y,Z)=∑Xϕ(X,Y,Z),

giving your answer according to the ordering of assignments to variables as shown below.

Separate the 4 entries of the factor with spaces, and do not add any extra trailing or leading zeroes or decimal points.

108 135 79 141

繼續閱讀