Re: [问题] Interview street: zombie march

楼主: neutrino (十年一梦)   2012-10-25 11:08:51
※ 引述《Leon (Achilles)》之铭言:
: 2. 请问几步之后他会收敛到 stationary probability?
: Ans: 这问题也是很大, 因为这牵扯到 Markov Chain mixing time,
: 这是 Markov Chain Monte Carlo 的核心问题, 也.. 难解.
: 但是, 求解 stationary probability distribution 的过程,
: 漂亮的令你难以想像.
: We can define the Graph G = (v,e),
: Let node j is the neightbor of node i,
: and we define the number of neighbor for node i as N(i).
: Then the transition probability (i,j) is = 1/N(i),
: if j is the neighbor of i.
: Otherwise, it's 0.
: And, obvious;y, sum of N(i) = 2|e|
: 然后这是我们的 Claim:
: The stationary probability for node i = 1/2|e| * N(i).
: 证明非常的简单:
: if p is the station probability, then p = M*p, M is the transition.
: Thus, let's consider probability for node i after transition
: It will equal to
: sum_{j in neighbor of i} p(j,i) p(j)
: = sum_{..} 1/N(j) * 1/2|e|* N(j)
: = 1/2|e| sum_{..}* 1
: = 1/2|e| N(i)
:

Links booklink

Contact Us: admin [ a t ] ucptt.com