Home CS224W--Graph as matrix - PageRank
Post
Cancel

CS224W--Graph as matrix - PageRank

Content

  1. PageRank (lecture 4.1 & 4.2)
  2. Random walk and restarts (lecture 4.3)
  3. Matrix factorization and node embeddings (lecture 4.4)

1. PageRank

web page contains in-links and out-links

The importance of page can be defined as the number of in-links, AKA links as votes

The flow model

Desktop View Link as vote

Definitions:

  • Rank rj=ijridi, where di is out-defree of node i.
  • Stochastic adjacency matrix Mij=1dj, is a column stochastic matrix (columns sum to 1).
  • Rank vector r, where iri=1.
  • r=Mr.

Connect to random walk

Definitions:

  • p(t) probability distribution over pages
  • p(t+1)=Mp˙(t), p(t) is a stationary distribution of a random walk.

solving eigenvector equation λx=Ax

Similarly, the rank vector r can be seen as the eigenvector of M with an eigenvalue of 1.

This post is licensed under CC BY 4.0 by the author.
Trending Tags