斯坦福-随机图模型-week1.6_

简介: title: 斯坦福-随机图模型-week1.6tags: notenotebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation---斯坦福-随机图模型-week1.6测试1。

title: 斯坦福-随机图模型-week1.6
tags: note
notebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation
---

斯坦福-随机图模型-week1.6

测试

1。第 1 个问题

Independencies in a graph.

Which pairs of variables are independent in the graphical model below, given that none of them have been observed? You may select 1 or more options.

A, B
正确
There are no active trails between A and B, so they are independent.

C, D

未选择的是正确的 

B, E

未选择的是正确的 

D, E

未选择的是正确的 

None - there are no pairs of independent variables.

未选择的是正确的 

第 2 个问题

正确
1 / 1 分
2。第 2 个问题
*Independencies in a graph. (An asterisk marks a question that is more challenging. Congratulations if you get it right!)

Now assume that the value of E is known. (E is observed. A, B, C, and D are not observed.) Which pairs of variables (not including E) are independent in the same graphical model, given E? You may select 1 or more options.

None - given E, there are no pairs of variables that are independent.

正确 
Observing E activates the V-structures around C and E, giving rise to active trails between every pair of variables in the network.

A, B

未选择的是正确的 

A, C

未选择的是正确的 

A, D

未选择的是正确的 

B, D

未选择的是正确的 

D, C

未选择的是正确的 

B, C

未选择的是正确的 

第 3 个问题

正确
1 / 1 分
3。第 3 个问题
I-maps. I-maps can also be defined directly on graphs as follows. Let I(G) be the set of independencies encoded by a graph G. Then G1 is an I-map for G2 if I(G1)⊆I(G2).

Which of the following statements about I-maps are true? You may select 1 or more options.

A graph K is an I-map for a graph G if and only if all of the independencies encoded by K are also encoded by G.

正确 
K is an I-map for G if K does not make independence assumptions that are not true in G. An easy way to remember this is that the complete graph, which has no independencies, is an I-map of all distributions.

A graph K is an I-map for a graph G if and only if K encodes all of the independences that G has and more.

未选择的是正确的 

An I-map is a function f that maps a graph G to itself, i.e., f(G)=G.

未选择的是正确的 

The graph K that is the same as the graph G, except that all of the edges are oriented in the opposite direction as the corresponding edges in G, is always an I-map for G, regardless of the structure of G.

未选择的是正确的 

I-maps are Apple's answer to Google Maps.

未选择的是正确的 

第 4 个问题

错误
0 / 1 分
4。第 4 个问题
*Naive Bayes.

Consider the following Naive Bayes model for flu diagnosis:

Assume a population size of 10,000. Which of the following statements are true in this model? You may select 1 or more options.

Say we observe that 1000 people have the flu, out of which 500 people have a headache (and possibly other symptoms) and 500 have a fever (and possibly other symptoms).

We would expect that approximately 250 people with the flu also have both a headache and fever.

正确 
Given that someone has the flu, whether he has a headache is independent of whether he has a fever. We can thus calculate:

P(Headache=1,Fever=1|Flu=1)=P(Headache=1|Flu=1)×P(Fever=1|Flu=1)≈0.5∗0.5=0.25.
Since 1000 people have the flu, we can estimate that 250 of these people will have both a headache and fever.

Note that this is only an estimate: we can assert with high confidence that P(Headache=1,Fever=1|Flu=1) is near to 0.25, but in general it will not be exactly 0.25. Moreover, even if it is exactly 0.25, the number of people with the flu, a headache and a fever need not be exactly 250 all the time. Think of this as analogous to flipping a fair coin: even though the probability of seeing a heads is exactly 0.5, in any given sequence of coin flips we need not see exactly half of the coins turning up heads.


Say we observe that 1000 people have a headache (and possibly other symptoms), out of which 500 people have the flu (and possibly other symptoms), and 500 people have a fever (and possibly other symptoms).

We would expect that approximately 250 people with a headache also have both the flu and a fever.

这个选项的答案不正确 
Even after observing the Headache variable, there is still an active trail from Flu to Fever. Thus, the probability of someone with a headache also having a flu is dependent on the probability of his having a fever as well. For example, if someone has a flu, he could be more likely to have a fever, irrespective of whether he has a headache or not.

We therefore cannot estimate P(Flu=1,Fever=1|Headache=1) from the conditional marginal probabilities P(Flu=1|Headache=1) and P(Fever=1|Headache=1).

Say we observe that 1000 people have the flu, out of which 500 people have a headache (and possibly other symptoms) and 500 have a fever (and possibly other symptoms).

We can conclude that exactly 250 people with the flu also have both a headache and fever.

未选择的是正确的 

Say we observe that 1000 people have the flu, out of which 500 people have a headache (and possibly other symptoms) and 500 people have a fever (and possibly other symptoms).

Without more information, we cannot estimate how many people with the flu also have both a headache and fever.

未选择的是正确的 

第 5 个问题

正确
1 / 1 分
5。第 5 个问题
I-maps.

Suppose (A⊥B)∈I(P), and G is an I-map of P, where G is a Bayesian network and P is a probability distribution. Is it necessarily true that (A⊥B)∈I(G)?

Yes

No

正确 
Since G is an I-map of P, all independencies in G are also in P. However, this doesn't mean that all independencies in P are also in G. An easy way to remember this is that the complete graph, which has no independencies, is an I-map of all distributions.
相关文章
斯坦福-随机图模型-week4.2_
title: 斯坦福-随机图模型-week4.2 tags: note notebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation --- 斯坦福-随机图模型-week4.
732 0
斯坦福-随机图模型-week3.2_
title: 斯坦福-随机图模型-week3.2 tags: note notebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation --- 斯坦福-随机图模型-week3.2 独立马尔科夫网络 分离的概念 分离的概念是这样的,如果我们有这样的定义: 如果再H中没有没有实际的连接线,我们认定Z呗H分离 比如再这个图中,图A和E是被B和C分离的。
831 0
|
决策智能
斯坦福-随机图模型-week4.0_
title: 斯坦福-随机图模型-week4.0 tags: note notebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation --- 斯坦福-随机图模型-week4.0 最大期望收入模型 简答的决策 我们使用随机图模型进行决策需要的原料是什么ne ? 我们需要决策的情景 一些列的可能的行为 一系列的转台量: 还有一个收益函数 期望的收益公式: 期望收益公式表示是这样的,每个行为的可能性,乘以他的期望收益的加权和。
777 0
[8585014]斯坦福-随机图模型-week3.2_
title: 斯坦福-随机图模型-week3.2 tags: note notebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation --- 斯坦福-随机图模型-week3.2 独立马尔科夫网络 分离的概念 分离的概念是这样的,如果我们有这样的定义: 如果再H中没有没有实际的连接线,我们认定Z呗H分离 比如再这个图中,图A和E是被B和C分离的。
846 0
|
定位技术
斯坦福-随机图模型-week3.3_
title: 斯坦福-随机图模型-week3.3 tags: note notebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation --- 斯坦福-随机图模型-week3.
672 0
|
定位技术
[8584966]斯坦福-随机图模型-week3.3_
title: 斯坦福-随机图模型-week3.3 tags: note notebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation --- 斯坦福-随机图模型-week3.
869 0
斯坦福-随机图模型-week3.1_
title: 斯坦福-随机图模型-week3.1 tags: note notebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation --- 斯坦福-随机图模型-week3.
1078 0
斯坦福-随机图模型-week3.0_
title: 斯坦福-随机图模型-week3.0 tags: note notebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation --- 斯坦福-随机图模型-week3.0 马尔科夫网络 pairwise markov networks 成对马尔科夫模型 图论模型中有有向图和无向图,对于无向图来说,运用到随机图论中就是马尔科夫模型。
773 0
斯坦福-随机图模型-week2.4_
title: 斯坦福-随机图模型-week2.4 tags: note notebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation --- 斯坦福-随机图模型-week2.
1073 0
斯坦福-随机图模型-week2.3_
title: 斯坦福-随机图模型-week2.3 tags: note notebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation --- 斯坦福-随机图模型-week2.3 局部结构-总论 tabular representation 表格表示 CPD 条件概率分布 我们以前使用表格来描述各个情况的概率,比如这样: 比如我们讨论学生问题,这个表可以描述智商,难度和得分的关系。
827 0