?????????-???????????????-week2.2_

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了?????????-???????????????-week2.2_相关的知识,希望对你有一定的参考价值。

?????????other   ant   var   ret   which   dir   possibly   yesterday   for   


title: ?????????-???????????????-week2.2
tags: note
notebook: 6- ????????????-9-Probabilistic Graphical Models 1: Representation
---

?????????-???????????????-week2.2

??????

1?????? 1 ?????????

Markov Assumption.

If a dynamic system X satisfies the Markov assumption for all time t???0, which of the following statements must be true? You may select 1 or more options.

(X(t+1)???X(0:(t?1))|X(t))

?????? 

(X(t+1)???X(0:(t?1)))

???????????????????????? 

P(X(t+1))=P(X(t?1)) for all possible values of X

???????????????????????? 

??? 2 ?????????

??????

1 / 1 ???
2?????? 2 ?????????

Independencies in DBNs.

In the following DBN, which of the following independence assumptions are true? You may select 1 or more options.

(O(t)???O(t?1))

???????????????????????? 

(O(t)???X(t?1)???X(t))

?????? 

When X(t) is known, there is no active trail from O(t) to any other node in the network.

(X(t+1)???X(t)???X(t?1))

???????????????????????? 

(X(t)???X(t?1))

???????????????????????? 

??? 3 ?????????

??????

1 / 1 ???
3?????? 3 ?????????

Applications of DBNs.

For which of the following applications might one use a DBN (i.e. the Markov assumption is satisfied)? You may select 1 or more options.

Modeling data taken at different locations along a road, where the data at each location is influenced by only the data at the same location and at the location directly to the East

?????? 

Consider each location to be a time slice, and order the locations from East to West. Viewed in this way, this data satisfies the Markov assumption.

Modeling time-series data, where the events at each time-point are influenced by only the events at the one time-point directly before it

?????? 
This perfectly satisfies the Markov assumption.

Predicting the probability that today will be a snow day (school will be closed because of the snow), when this probability depends only on whether yesterday was a snow day.

?????? 

Let each day be a time slice, and order the days in chronological order. Viewed in this way, this data satisfies the Markov assumption.

Modeling the behavior of people, where a person???s behavior is influenced by only the behavior of people in the same generation and the people in his/her parents??? generation.

?????? 
Consider each generation to be a time-slice, and this data satisifes the Markov assumption.

??? 4 ?????????

??????

1 / 1 ???
4?????? 4 ?????????

Plate Semantics.

"Let A and B be random variables inside a common plate indexed by i. Which of the following statements must be true? You may select 1 or more options.

For each i, A(i) and B(i) are not independent.

???????????????????????? 

For each i, A(i) and B(i) are independent.

???????????????????????? 

There is an instance of A and an instance of B for every i.

?????? 

For each i, A(i) and B(i) have edges connecting them to the same variables outside of the plate.

???????????????????????? 

??? 5 ?????????

??????
0 / 1 ???
5?????? 5 ?????????

*Plate Interpretation.

Consider the plate model below (with edges removed). Which of the following might a given instance of X possibly represent in the grounded model? (You may select 1 or more options. Keep in mind that this question addresses the variable???s semantics, not its CPD.)

Whether a specific teacher T is a tough grader

This model does not have any information about how hard of a grader the teacher is, but it does have information about classes and schools.

Whether someone with expertise E taught something of difficulty D at school S

???????????????????????? 

Whether a teacher with expertise E taught a course of difficulty D

???????????????????????? 

Whether a specific teacher T taught a specific course C at school S

?????????????????? 

None of these options can represent X in the grounded model


???????????????????????? 

??? 6 ?????????

??????
0 / 1 ???
6?????? 6 ?????????

Grounded Plates.

Using the same plate model, now assume that there are s schools, t teachers in each school, and c courses taught by each teacher. How many instances of the Expertise variable are there?

ct

st

Not enough information given to know

?????????????????????????????? 

st

??? 7 ?????????

??????

1 / 1 ???
7?????? 7 ?????????

Template Models. Consider the plate model shown below. Assume we are given K Markets, L Products, M Consumers and N Locations. What is the total number of instances of the variable P in the grounded BN?

K?L?M

?????? 
There will be one grounded instance of P for each combination of Market, Consumer, and Product. There will be K?L?M of these combinations.

K?L?M?N

(L?M)K

K?(N+(L?M))

??? 8 ?????????

??????

1 / 1 ???
8?????? 8 ?????????

Template Models. Consider the plate model from the previous question. What might P represent?

Whether a specific product PROD was consumed by consumer C in market M

?????? 
In the grounded model, there will be an instance of P for each combination of Product and Consumer, and there is a combination like this for each Market. Thus, we are looking at a random variable that will say something about a specific product, market, and consumer combination. The correct answer is the only one that does this.

Whether a specific product PROD was consumed by consumer C in all markets

Whether a specific product of brand q was consumed by a consumer with age t in a market of type m that is in location a

Whether a specific product PROD was consumed by consumer C in market M in location L

??? 9 ?????????

??????

1 / 1 ???
9?????? 9 ?????????

Time-Series Graphs. Which of the time-series graphs satisfies the Markov assumption? You may select 1 or more options.

(a)

???????????????????????? 

(b)

?????? 
(b) is a time-series graph in which all variables in each time slice are independent of all variables in time slices at least 2 time slices before, given all variables in the previous time slice (X(t+1),Y(t+1),Z(t+1)???X(t?1),Y(t?1),Z(t?1)|X(t),Y(t),Z(t)).

(c)

???????????????????????? 

??? 10 ?????????

??????

1 / 1 ???
10?????? 10 ?????????

*Unrolling DBNs. Below are 2-TBNs that could be unrolled into DBNs. Consider these unrolled DBNs (note that there are no edges within the first time-point). In which of them will (X(t)???Z(t)???Y(t)) hold for all t, assuming Obs(t) is observed for all t and X(t) and Z(t) are never observed? You may select 1 or more options.

Hint: Unroll these 2-TBNs into DBNs that are at least 3 time steps long (i.e., involving variables from t?1,t,t+1).

(a)

???????????????????????? 

(b)

?????? 
The independence assumption holds in this network because knowing Y(t) blocks what was the only active trail from X(t) to Z(t).

(c)

???????????????????????? 

以上是关于?????????-???????????????-week2.2_的主要内容,如果未能解决你的问题,请参考以下文章

Python 操作Redis

python爬虫入门----- 阿里巴巴供应商爬虫

Python词典设置默认值小技巧

《python学习手册(第4版)》pdf

Django settings.py 的media路径设置

Python中的赋值,浅拷贝和深拷贝的区别