08.10.2016 Views

Foundations of Data Science

2dLYwbK

2dLYwbK

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ε <strong>of</strong> the steady state distribution.<br />

In these examples, we have chosen simple probability distributions. The methods extend<br />

to more complex situations.<br />

5.5 Electrical Networks and Random Walks<br />

In the next few sections, we study the relationship between electrical networks and<br />

random walks on undirected graphs. The graphs have nonnegative weights on each edge.<br />

A step is executed by picking a random edge from the current vertex with probability<br />

proportional to the edge’s weight and traversing the edge.<br />

An electrical network is a connected, undirected graph in which each edge (x, y) has<br />

a resistance r xy > 0. In what follows, it is easier to deal with conductance defined as the<br />

reciprocal <strong>of</strong> resistance, c xy = 1<br />

r xy<br />

, rather than resistance. Associated with an electrical<br />

network is a random walk on the underlying graph defined by assigning a probability<br />

p xy = cxy<br />

c x<br />

to the edge (x, y) incident to the vertex x, where the normalizing constant c x<br />

equals ∑ c xy . Note that although c xy equals c yx , the probabilities p xy and p yx may not be<br />

y<br />

equal due to the normalization required to make the probabilities at each vertex sum to<br />

one. We shall soon see that there is a relationship between current flowing in an electrical<br />

network and a random walk on the underlying graph.<br />

Since we assume that the undirected graph is connected, by Theorem 5.2 there is<br />

a unique stationary probability distribution.The stationary probability distribution is π<br />

where π x = cx<br />

c 0<br />

where c 0 = ∑ c x . To see this, for all x and y<br />

x<br />

π x p xy = c x<br />

c 0<br />

c xy<br />

c x<br />

= c xy<br />

c 0<br />

= c y<br />

c 0<br />

c yx<br />

c y<br />

= π y p yx<br />

and hence by Lemma 5.3, π is the unique stationary probability.<br />

Harmonic functions<br />

Harmonic functions are useful in developing the relationship between electrical networks<br />

and random walks on undirected graphs. Given an undirected graph, designate<br />

a nonempty set <strong>of</strong> vertices as boundary vertices and the remaining vertices as interior<br />

vertices. A harmonic function g on the vertices is one in which the value <strong>of</strong> the function<br />

at the boundary vertices is fixed to some boundary condition and the value <strong>of</strong> g at any<br />

interior vertex x is a weighted average <strong>of</strong> the values at all the adjacent vertices y, with<br />

weights p xy satisfying ∑ y p xy = 1 for each x. Thus, if at every interior vertex x for some<br />

set <strong>of</strong> weights p xy satisfying ∑ y p xy = 1, g x = ∑ g y p xy , then g is an harmonic function.<br />

y<br />

160

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!