SlideShare a Scribd company logo
1 of 16
LOCAL PAGERANK
APPROXIMATION
Group 21
Shashank Juyal (201305537)
Roopgundeep S Sodhi (201101047)
K Prathyusha (201025173)
Bharathi S (201350885)
CONTENT
 What is PageRank?
 Objective
 PageRank for whole Dataset
 Local Approximation of PageRank
 Experiments and Results
 Challenges and Issues
 Conclusion and Future Scope
 References
WHAT IS PAGERANK?
 Named after Larry Page, cofounder of Google
 PageRank is an algorithm used by Google
Search to rank websites in their search engine
results.
 Way of measuring the importance of website
pages
 Works by counting the number and quality of
links to a page to determine a rough estimate of
how important the website is.
OBJECTIVE
 In General, for PageRank calculation, a global
computation is needed
 But there are situations in which PageRank scores
are required for just a small subset of the nodes.
 Suppose a web site owner want to promote his
website in search engine rankings in order to attract
traffic of potential clients.
 So he is interested only in the PageRank score of his
own website but not in the PageRank scores of all
other web pages.
OBJECTIVE
 Global PageRank computation for the entire web
graph is out of the question for most users, as it
requires significant resources and knowhow.
 That is why Local Approximation of Page-Rank
is required.
PAGERANK FOR WHOLE DATASET
 We traversed through the dataset and applied the
algorithm proposed by Page and Brin on the set directly.
1. In that approach, Page Rank for each page is calculated
based on the back links which are pointing to that page.
2. A given Page-Rank value of a page is equally divided
among the forward-links of that page. The page to which
it has pointed will use that value to calculate its own page
rank.
3. Additional factor has also to be considered which will
make sure that the page-rank algorithm converges
(especially in cases where loops are present).
PAGERANK FOR WHOLE DATASET
 Algorithm
(Proposed by Larry Page and Sergie Brin )
Where,
-PR(X) is the PageRank of page X, initial value of 1
-PR(Ti) is the PageRank of pages Ti which link to page A,
-C(Ti) is the number of backward links on page Ti and
-d is a damping factor which can be set between 0 & 1.
Iterate over pages
Calculate for each page
PR(X) = (1-d) + d ( PR(T1) / C(T1) + ... +
PR(Tn) / C(Tn))
Till PR(X-1)=PR(X) for all pages
LOCAL PAGERANK APPROXIMATION
 Given a node (page), we have to calculate the approximate
page rank:
 The Algorithm crawls the sub-graph of radius r around the
given node (page) “backwards” in BFS order. For each node
(page) v at layer t, the algorithm calculates the influence of
v on given node at radius t.
 It sums up the influence values, weighted by some factor.
For that the algorithm uses the recursive property of
influence: the influence of v on given node at radius t
equals the average influence of the out-neighbours of v on
given node at radius t−1.
LOCAL PAGERANK APPROXIMATION
 Now we can have two approaches to consider the
value 'r‘
1. Run the algorithm with r, which is guaranteed
to be an upper bound
2. Run the algorithm without knowing r a priori,
and stop the algorithm whenever we notice that
the value of Page-Rank does not change by
much.
EXPERIMENTS AND RESULTS
1. Error Percentage for different pageids and radius
values
EXPERIMENTS AND RESULTS
2. Time taken by local approximation for different
pageids and radius values
CHALLENGES AND ISSUES
 Loading small indexes into memory created problem. But
we resolved it by increasing the heap size allocated for the
Virtual Machine
 Deciding the threshold value during the implementation of
pruning.
 There is no unique value for threshold as it varies widely
for different PageRank values.
 Choose wisely !!
CONCLUSIONS AND FUTURE SCOPE
 Normal Procedure to calculate PageRank consider whole
DataSet for its computation which is time and resource
consuming and also not feasible in most of the situations.
 So Local approximation of PageRank can be predicted by
just calculating PageRank over nodes in a smaller graph
without calculating PageRank for all the nodes in the
dataset
 The results obtained are very near to the original
PageRank results with the average error rate of 15 -20 %.
CONCLUSIONS AND FUTURE SCOPE
 The implementation of algorithm and the correctness of the
value depend upon the radius defined for the smaller
graph.
 Smaller the radius, higher the error rate and vice versa.
 But on increasing the radius, the complexity increases
exponentially as the number of in links we have to deal
with becomes very large.
 Generally a value of r=3-4 is taken.
 Pruning techniques can be used to increase the value of r in
which the procedure removes all nodes whose influence is
below some threshold value T from layer r.
REFERENCES
 Ziv Bar-Yossef, Li-Tal Mashiach, and Google Haifa
Engineering Center, Haifa, Israel, Local Approximation
of PageRank and Reverse PageRank, October 26–30,
2008, ACM 978-1-59593-991-3/08/10
 Lawrence Page, Sergey Brin, Rajeev Motwani, Terry
Winograd, The PageRank Citation Ranking: Bringing
Order to the Web, January 29, 1998, Stanford InfoLab
 Yen-Yu Chen, Qingquin Gan, Torsten Suel, Local
Methods for Estimating PageRank Values, November
8-13, 2004, CIKM’04
Local Approximation of PageRank

More Related Content

Similar to Local Approximation of PageRank (20)

Page rank2
Page rank2Page rank2
Page rank2
 
I04015559
I04015559I04015559
I04015559
 
Page Rank Link Farm Detection
Page Rank Link Farm DetectionPage Rank Link Farm Detection
Page Rank Link Farm Detection
 
Dm page rank
Dm page rankDm page rank
Dm page rank
 
PageRank Algorithm In data mining
PageRank Algorithm In data miningPageRank Algorithm In data mining
PageRank Algorithm In data mining
 
PageRank Algorithm
PageRank AlgorithmPageRank Algorithm
PageRank Algorithm
 
Search engine page rank demystification
Search engine page rank demystificationSearch engine page rank demystification
Search engine page rank demystification
 
PageRank & Searching
PageRank & SearchingPageRank & Searching
PageRank & Searching
 
J046045558
J046045558J046045558
J046045558
 
PageRank in Multithreading
PageRank in MultithreadingPageRank in Multithreading
PageRank in Multithreading
 
PageRank_algorithm_Nfaoui_El_Habib
PageRank_algorithm_Nfaoui_El_HabibPageRank_algorithm_Nfaoui_El_Habib
PageRank_algorithm_Nfaoui_El_Habib
 
Pagerank
PagerankPagerank
Pagerank
 
Seo and page rank algorithm
Seo and page rank algorithmSeo and page rank algorithm
Seo and page rank algorithm
 
Page Rank
Page RankPage Rank
Page Rank
 
Page Rank
Page RankPage Rank
Page Rank
 
PageRank
PageRankPageRank
PageRank
 
Ranking Web Pages
Ranking Web PagesRanking Web Pages
Ranking Web Pages
 
Page Rank
Page RankPage Rank
Page Rank
 
Page Rank
Page RankPage Rank
Page Rank
 
Page Rank
Page RankPage Rank
Page Rank
 

Recently uploaded

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 

Recently uploaded (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 

Local Approximation of PageRank

  • 1. LOCAL PAGERANK APPROXIMATION Group 21 Shashank Juyal (201305537) Roopgundeep S Sodhi (201101047) K Prathyusha (201025173) Bharathi S (201350885)
  • 2. CONTENT  What is PageRank?  Objective  PageRank for whole Dataset  Local Approximation of PageRank  Experiments and Results  Challenges and Issues  Conclusion and Future Scope  References
  • 3. WHAT IS PAGERANK?  Named after Larry Page, cofounder of Google  PageRank is an algorithm used by Google Search to rank websites in their search engine results.  Way of measuring the importance of website pages  Works by counting the number and quality of links to a page to determine a rough estimate of how important the website is.
  • 4. OBJECTIVE  In General, for PageRank calculation, a global computation is needed  But there are situations in which PageRank scores are required for just a small subset of the nodes.  Suppose a web site owner want to promote his website in search engine rankings in order to attract traffic of potential clients.  So he is interested only in the PageRank score of his own website but not in the PageRank scores of all other web pages.
  • 5. OBJECTIVE  Global PageRank computation for the entire web graph is out of the question for most users, as it requires significant resources and knowhow.  That is why Local Approximation of Page-Rank is required.
  • 6. PAGERANK FOR WHOLE DATASET  We traversed through the dataset and applied the algorithm proposed by Page and Brin on the set directly. 1. In that approach, Page Rank for each page is calculated based on the back links which are pointing to that page. 2. A given Page-Rank value of a page is equally divided among the forward-links of that page. The page to which it has pointed will use that value to calculate its own page rank. 3. Additional factor has also to be considered which will make sure that the page-rank algorithm converges (especially in cases where loops are present).
  • 7. PAGERANK FOR WHOLE DATASET  Algorithm (Proposed by Larry Page and Sergie Brin ) Where, -PR(X) is the PageRank of page X, initial value of 1 -PR(Ti) is the PageRank of pages Ti which link to page A, -C(Ti) is the number of backward links on page Ti and -d is a damping factor which can be set between 0 & 1. Iterate over pages Calculate for each page PR(X) = (1-d) + d ( PR(T1) / C(T1) + ... + PR(Tn) / C(Tn)) Till PR(X-1)=PR(X) for all pages
  • 8. LOCAL PAGERANK APPROXIMATION  Given a node (page), we have to calculate the approximate page rank:  The Algorithm crawls the sub-graph of radius r around the given node (page) “backwards” in BFS order. For each node (page) v at layer t, the algorithm calculates the influence of v on given node at radius t.  It sums up the influence values, weighted by some factor. For that the algorithm uses the recursive property of influence: the influence of v on given node at radius t equals the average influence of the out-neighbours of v on given node at radius t−1.
  • 9. LOCAL PAGERANK APPROXIMATION  Now we can have two approaches to consider the value 'r‘ 1. Run the algorithm with r, which is guaranteed to be an upper bound 2. Run the algorithm without knowing r a priori, and stop the algorithm whenever we notice that the value of Page-Rank does not change by much.
  • 10. EXPERIMENTS AND RESULTS 1. Error Percentage for different pageids and radius values
  • 11. EXPERIMENTS AND RESULTS 2. Time taken by local approximation for different pageids and radius values
  • 12. CHALLENGES AND ISSUES  Loading small indexes into memory created problem. But we resolved it by increasing the heap size allocated for the Virtual Machine  Deciding the threshold value during the implementation of pruning.  There is no unique value for threshold as it varies widely for different PageRank values.  Choose wisely !!
  • 13. CONCLUSIONS AND FUTURE SCOPE  Normal Procedure to calculate PageRank consider whole DataSet for its computation which is time and resource consuming and also not feasible in most of the situations.  So Local approximation of PageRank can be predicted by just calculating PageRank over nodes in a smaller graph without calculating PageRank for all the nodes in the dataset  The results obtained are very near to the original PageRank results with the average error rate of 15 -20 %.
  • 14. CONCLUSIONS AND FUTURE SCOPE  The implementation of algorithm and the correctness of the value depend upon the radius defined for the smaller graph.  Smaller the radius, higher the error rate and vice versa.  But on increasing the radius, the complexity increases exponentially as the number of in links we have to deal with becomes very large.  Generally a value of r=3-4 is taken.  Pruning techniques can be used to increase the value of r in which the procedure removes all nodes whose influence is below some threshold value T from layer r.
  • 15. REFERENCES  Ziv Bar-Yossef, Li-Tal Mashiach, and Google Haifa Engineering Center, Haifa, Israel, Local Approximation of PageRank and Reverse PageRank, October 26–30, 2008, ACM 978-1-59593-991-3/08/10  Lawrence Page, Sergey Brin, Rajeev Motwani, Terry Winograd, The PageRank Citation Ranking: Bringing Order to the Web, January 29, 1998, Stanford InfoLab  Yen-Yu Chen, Qingquin Gan, Torsten Suel, Local Methods for Estimating PageRank Values, November 8-13, 2004, CIKM’04