install python 3.5 and pip install two packages
pip install beautifulsoup4
pin install requests
The entry is in PageRank.py, there is a main function, which takes the number of task as parameter.
there are two inputs, which are urls from last homework. The files are named w1.txt and w2.txt under the same path as python code
G1.txt: graph S1.txt: the statistics PR1.txt: page rank, format "docID + "\t" + rank_score" l1andNewPRsum1.txt: the l1_norm value and newPR sum value
It's the same for Task 2