3.4.5

PageRank Algorithm

Test yourself

PageRank Algorithm

The PageRank algorithm is a method of ranking the web pages in a set of Google search results.

Illustrative background for PageRank algorithmIllustrative background for PageRank algorithm ?? "content

PageRank algorithm

  • PageRank is named after Larry Page who, along with fellow Stanford University student Sergey Brin, developed the algorithm in the mid-1990s.
    • The algorithm judges how important each web page is.
  • The higher the score for a particular page, the closer to the top of the list of results it appears.
Illustrative background for OperationIllustrative background for Operation ?? "content

Operation

  • Google searches often contain millions of results, so PageRank is an important method of ensuring useful pages are more prominent in the list.
  • The algorithm has to be run constantly for each web page as the number of external links to the page can change at any time.
Illustrative background for AlgorithmIllustrative background for Algorithm ?? "content

Algorithm

  • The PageRank algorithm is written as follows:
    • PR(A)=(1d)+d(PR(T1)C(T1)+...+PR(Tn)C(Tn))PR(A) = (1-d) + d \left(\frac{PR(T_1)}{C(T_1)} + ... + \frac{PR(T_n)}{C(T_n)}\right)
  • Using ‘Web page A’ as an example:
    • PR(A)PR(A) is to the PageRank of ‘Web page A’.
    • PR(Ti)PR(T_i) is the PageRank of any of nn pages which link to ‘Web page A’.
    • C(Ti)C(T_i) is the number of outbound links on the pages which link to ‘Web page A’.
    • dd is the damping factor, which is usually set to 0.85.

Jump to other topics

1Components of a Computer

2Software & Software Development

3Exchanging Data

4Data Types, Data Structures & Algorithms

5Legal, Moral, Cultural & Ethical Issues

6Elements of Computational Thinking

6.1Thinking Abstractly

6.2Thinking Ahead

6.3Thinking Procedurally

6.4Thinking Logically

6.5Thinking Concurrently

7Problem Solving & Programming

8Algorithms

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium