19.08.2013 Views

r - SNAP - Stanford University

r - SNAP - Stanford University

r - SNAP - Stanford University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Key step is matrix-vector multiplication<br />

r new = A ∙ r old<br />

Easy if we have enough main memory to hold<br />

A, r old , r new<br />

Say N = 1 billion pages<br />

We need 4 bytes for<br />

each entry (say)<br />

2 billion entries for<br />

vectors, approx 8GB<br />

Matrix A has N 2 entries<br />

10 18 is a large number!<br />

A =<br />

A = β∙M + (1-β) [1/N] NxN<br />

½ ½ 0<br />

½ 0 0<br />

0 ½ 1<br />

0.8 +0.2<br />

1/3 1/3 1/3<br />

1/3 1/3 1/3<br />

1/3 1/3 1/3<br />

7/15 7/15 1/15<br />

7/15 1/15 1/15<br />

1/15 7/15 13/15<br />

2/7/2012 Jure Leskovec, <strong>Stanford</strong> C246: Mining Massive Datasets 34<br />

=

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

Saved successfully!

Ooh no, something went wrong!