Skip to content

invisiblehermitt/Pagerank__calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Pagerank__calculator

A page rank calculator implemented in python

You can try this program withWebgraph from the Google programming contest 2002 available at:

http://snap.stanford.edu/data/web-Google.html

run the code with the command:

python pagerank.py .\web-Google.txt

You can try use this program to calculate the page rank of other datasets, but please rememeber to this program read data starts from row four as this program is written mainly aiming at the google 2002 dataset

The top 10 node with highest page rank will be printed in the terminal, the page rank of all nodes can be found in the file pagerank_result.txt

Definition of Pagerank:

https://en.wikipedia.org/wiki/PageRank

Have fun XD

About

A page rank calculator implemented in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages