SlideShare a Scribd company logo
1 of 26
Markov Chains
Presented By
Tilak Poudel
Presented By
Tilak Poudel
Today’s Discussion focuses on..
Google Page Rank….
Markov Chains
✔ If the future states of a process are independent of the
past and depend only on the present , the process is
called a Markov process.
✔ A Markov chain is "a stochastic model describing a
sequence of possible events in which the probability of
each event depends only on the state attained in the
previous event."
✔ A Markov Chain is a random process with the property that
the next state depends only on the current state.
Markov Chains, why?
✔ Markov chains are used to analyze trends and
predict the future. (Weather, stock market,
genetics, product success, etc.)
Applications of Markov Chain
✔ Physics
✔ Chemistry
✔ Speech Recognition
✔ Information and Communication System
✔ Queuing Theory
✔ Statistics
✔ Internet Applications
Internet Application
● Have you ever wandered(moving around)
visiting the web pages that you had never
expected to visit before reaching your goal web
page ????
Internet Application
✔ The Markov chain has network structure much
like that of website, where each node in the
network is called a state and to each link in the
network a transition probability is attached, which
denotes the probability of moving from the
source state of the link to its destination state.
Internet Application
✔ The process attached to a Markov chain moves
through the states of the networks in steps,
where if any time the system is in state i, then
with probability equal to the transition probability
from state I to state j, it moves to state j.
✔ We will model the transitions from one page to
another in a web site as a Markov chain.
✔ The assumption we will make , called Markov
property, is that the probability of moving from
source page to a destination page doesn’t
depend on the route taken to reach the source.
Page Rank
● Any Ideas regarding the page ranking done by
google and other ???
Internet Application● The Page Rank of a web page as used by Google is defined
by a Markov chain.
● It is the probability to be at page i in the stationary distribution
on the following Markov chain on all (known) web pages.
● If N is the number of known web pages, and a page i has ki
links then it has transition probability
● for all pages that are linked to and
for all pages that are not linked to.
● The parameter α is taken to be about 0.85
Page Rank
● Page Rank (PR) is an algorithm used by Google Search to
rank websites in their search engine results.
● Page Rank was named after Larry Page, one of the founders of
Google. Page Rank is a way of measuring the importance of
website pages. According to Google:
● Page Rank works by counting the number and quality of links
to a page to determine a rough estimate of how important the
website is. The underlying assumption is that more important
websites are likely to receive more links from other websites.
● Page Rank is a link analysis algorithm and it assigns a
numerical weighting to each element of a hyper linked set of
documents, such as the World Wide Web, with the purpose of
"measuring" its relative importance within the set.
Page Rank
● The rank value indicates an importance of a
particular page.
● A hyper link to a page counts as a vote of
support.
● A page that is linked to by many pages with
high Page Rank receives a high rank itself.
Page Rank
Page Rank
Page Rank
Page Rank
Page Rank
Page Rank
● Mathematical Page Ranks for a simple network, expressed as
percentages. (Google uses a logarithmic scale.)
● Page C has a higher Page Rank than Page E, even though there are
fewer links to C; the one link to C comes from an important page and
hence is of high value.
● If web surfers who start on a random page have an 85% likelihood of
choosing a random link from the page they are currently visiting, and
a 15% likelihood of jumping to a page chosen at random from the
entire web, they will reach Page E 8.1% of the time.
● (The 15% likelihood of jumping to an arbitrary page corresponds to a
damping factor of 85%.)
● Without damping, all web surfers would eventually end up on Pages
A, B, or C, and all other pages would have Page Rank zero.
● In the presence of damping, Page A effectively links to all pages in the
web, even though it has no outgoing links of its own.
Page Rank
● Cartoon illustrating the basic principle of Page
Rank.
● The size of each face is proportional to the
total size of the other faces which are pointing
to it.
Internet Application
✔ Markov models have also been used to analyze
web navigation behavior of users.
✔ A user's web link transition on a particular
website can be modeled using first- or second-
order
✔ Markov models and can be used to make
predictions regarding future navigation and to
personalize the web page for an individual user.
Q &A ???
● Any queries ??????
!!! THANK YOU !!!

More Related Content

What's hot

Probabilistic models (part 1)
Probabilistic models (part 1)Probabilistic models (part 1)
Probabilistic models (part 1)
KU Leuven
 
Markov decision process
Markov decision processMarkov decision process
Markov decision process
Hamed Abdi
 

What's hot (20)

Hidden markov model ppt
Hidden markov model pptHidden markov model ppt
Hidden markov model ppt
 
Markov chains1
Markov chains1Markov chains1
Markov chains1
 
Hidden Markov Model
Hidden Markov Model Hidden Markov Model
Hidden Markov Model
 
Markov Chain Monte Carlo Methods
Markov Chain Monte Carlo MethodsMarkov Chain Monte Carlo Methods
Markov Chain Monte Carlo Methods
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
 
Classification and Regression
Classification and RegressionClassification and Regression
Classification and Regression
 
Markov chain
Markov chainMarkov chain
Markov chain
 
Stochastic modelling and its applications
Stochastic modelling and its applicationsStochastic modelling and its applications
Stochastic modelling and its applications
 
Probabilistic models (part 1)
Probabilistic models (part 1)Probabilistic models (part 1)
Probabilistic models (part 1)
 
Markov decision process
Markov decision processMarkov decision process
Markov decision process
 
Markov process
Markov processMarkov process
Markov process
 
Lecture 9 Markov decision process
Lecture 9 Markov decision processLecture 9 Markov decision process
Lecture 9 Markov decision process
 
Markov Chains.pptx
Markov Chains.pptxMarkov Chains.pptx
Markov Chains.pptx
 
Hidden markov model
Hidden markov modelHidden markov model
Hidden markov model
 
Introduction to Random Walk
Introduction to Random WalkIntroduction to Random Walk
Introduction to Random Walk
 
Markov decision process
Markov decision processMarkov decision process
Markov decision process
 
Regression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha BaliRegression (Linear Regression and Logistic Regression) by Akanksha Bali
Regression (Linear Regression and Logistic Regression) by Akanksha Bali
 
randomwalk.ppt
randomwalk.pptrandomwalk.ppt
randomwalk.ppt
 
Bayes Theorem
Bayes TheoremBayes Theorem
Bayes Theorem
 
Lesson 4 ar-ma
Lesson 4 ar-maLesson 4 ar-ma
Lesson 4 ar-ma
 

Similar to Markov chain and its Application

PageRank Algorithm In data mining
PageRank Algorithm In data miningPageRank Algorithm In data mining
PageRank Algorithm In data mining
Mai Mustafa
 
Page rank algortihm
Page rank algortihmPage rank algortihm
Page rank algortihm
Siddharth Kar
 
Graph theory in Search engines and web connectivity.pptx
Graph theory in Search engines and web connectivity.pptxGraph theory in Search engines and web connectivity.pptx
Graph theory in Search engines and web connectivity.pptx
PreethiSatsangi
 
SEO for Web Designers and Developers
SEO for Web Designers and Developers SEO for Web Designers and Developers
SEO for Web Designers and Developers
LutforPro - SEO Expert in Bangladesh
 

Similar to Markov chain and its Application (20)

LINEAR ALGEBRA BEHIND GOOGLE SEARCH
LINEAR ALGEBRA BEHIND GOOGLE SEARCHLINEAR ALGEBRA BEHIND GOOGLE SEARCH
LINEAR ALGEBRA BEHIND GOOGLE SEARCH
 
PageRank_algorithm_Nfaoui_El_Habib
PageRank_algorithm_Nfaoui_El_HabibPageRank_algorithm_Nfaoui_El_Habib
PageRank_algorithm_Nfaoui_El_Habib
 
PageRank Algorithm
PageRank AlgorithmPageRank Algorithm
PageRank Algorithm
 
Page Rank Link Farm Detection
Page Rank Link Farm DetectionPage Rank Link Farm Detection
Page Rank Link Farm Detection
 
I04015559
I04015559I04015559
I04015559
 
A Generalization of the PageRank Algorithm : NOTES
A Generalization of the PageRank Algorithm : NOTESA Generalization of the PageRank Algorithm : NOTES
A Generalization of the PageRank Algorithm : NOTES
 
Page rank by university of michagain.ppt
Page rank by university of michagain.pptPage rank by university of michagain.ppt
Page rank by university of michagain.ppt
 
Page Rank
Page RankPage Rank
Page Rank
 
PageRank Algorithm In data mining
PageRank Algorithm In data miningPageRank Algorithm In data mining
PageRank Algorithm In data mining
 
Page rank algortihm
Page rank algortihmPage rank algortihm
Page rank algortihm
 
Incremental Page Rank Computation on Evolving Graphs : NOTES
Incremental Page Rank Computation on Evolving Graphs : NOTESIncremental Page Rank Computation on Evolving Graphs : NOTES
Incremental Page Rank Computation on Evolving Graphs : NOTES
 
Dm page rank
Dm page rankDm page rank
Dm page rank
 
Enhancement in Weighted PageRank Algorithm Using VOL
Enhancement in Weighted PageRank Algorithm Using VOLEnhancement in Weighted PageRank Algorithm Using VOL
Enhancement in Weighted PageRank Algorithm Using VOL
 
Ranking Web Pages
Ranking Web PagesRanking Web Pages
Ranking Web Pages
 
Graph theory in Search engines and web connectivity.pptx
Graph theory in Search engines and web connectivity.pptxGraph theory in Search engines and web connectivity.pptx
Graph theory in Search engines and web connectivity.pptx
 
SEO for Web Designers and Developers
SEO for Web Designers and Developers SEO for Web Designers and Developers
SEO for Web Designers and Developers
 
TrustRank.PDF
TrustRank.PDFTrustRank.PDF
TrustRank.PDF
 
page ranking algorithm
page ranking algorithmpage ranking algorithm
page ranking algorithm
 
Search engine page rank demystification
Search engine page rank demystificationSearch engine page rank demystification
Search engine page rank demystification
 
Page Rank
Page RankPage Rank
Page Rank
 

More from Tilakpoudel2 (6)

Motivation in software project development
Motivation in software project developmentMotivation in software project development
Motivation in software project development
 
SAX
SAXSAX
SAX
 
Basic blocks and control flow graphs
Basic blocks and control flow graphsBasic blocks and control flow graphs
Basic blocks and control flow graphs
 
Advantages and disadvantages of Simulation
Advantages and disadvantages of SimulationAdvantages and disadvantages of Simulation
Advantages and disadvantages of Simulation
 
Output analysis for simulation models / Elimination of initial Bias
Output analysis for simulation models / Elimination of initial BiasOutput analysis for simulation models / Elimination of initial Bias
Output analysis for simulation models / Elimination of initial Bias
 
Expert system
Expert systemExpert system
Expert system
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Markov chain and its Application

  • 1. Markov Chains Presented By Tilak Poudel Presented By Tilak Poudel
  • 2. Today’s Discussion focuses on.. Google Page Rank….
  • 3. Markov Chains ✔ If the future states of a process are independent of the past and depend only on the present , the process is called a Markov process. ✔ A Markov chain is "a stochastic model describing a sequence of possible events in which the probability of each event depends only on the state attained in the previous event." ✔ A Markov Chain is a random process with the property that the next state depends only on the current state.
  • 4.
  • 5.
  • 6. Markov Chains, why? ✔ Markov chains are used to analyze trends and predict the future. (Weather, stock market, genetics, product success, etc.)
  • 7. Applications of Markov Chain ✔ Physics ✔ Chemistry ✔ Speech Recognition ✔ Information and Communication System ✔ Queuing Theory ✔ Statistics ✔ Internet Applications
  • 8. Internet Application ● Have you ever wandered(moving around) visiting the web pages that you had never expected to visit before reaching your goal web page ????
  • 9. Internet Application ✔ The Markov chain has network structure much like that of website, where each node in the network is called a state and to each link in the network a transition probability is attached, which denotes the probability of moving from the source state of the link to its destination state.
  • 10. Internet Application ✔ The process attached to a Markov chain moves through the states of the networks in steps, where if any time the system is in state i, then with probability equal to the transition probability from state I to state j, it moves to state j. ✔ We will model the transitions from one page to another in a web site as a Markov chain. ✔ The assumption we will make , called Markov property, is that the probability of moving from source page to a destination page doesn’t depend on the route taken to reach the source.
  • 11. Page Rank ● Any Ideas regarding the page ranking done by google and other ???
  • 12. Internet Application● The Page Rank of a web page as used by Google is defined by a Markov chain. ● It is the probability to be at page i in the stationary distribution on the following Markov chain on all (known) web pages. ● If N is the number of known web pages, and a page i has ki links then it has transition probability ● for all pages that are linked to and for all pages that are not linked to. ● The parameter α is taken to be about 0.85
  • 13. Page Rank ● Page Rank (PR) is an algorithm used by Google Search to rank websites in their search engine results. ● Page Rank was named after Larry Page, one of the founders of Google. Page Rank is a way of measuring the importance of website pages. According to Google: ● Page Rank works by counting the number and quality of links to a page to determine a rough estimate of how important the website is. The underlying assumption is that more important websites are likely to receive more links from other websites. ● Page Rank is a link analysis algorithm and it assigns a numerical weighting to each element of a hyper linked set of documents, such as the World Wide Web, with the purpose of "measuring" its relative importance within the set.
  • 14. Page Rank ● The rank value indicates an importance of a particular page. ● A hyper link to a page counts as a vote of support. ● A page that is linked to by many pages with high Page Rank receives a high rank itself.
  • 21. ● Mathematical Page Ranks for a simple network, expressed as percentages. (Google uses a logarithmic scale.) ● Page C has a higher Page Rank than Page E, even though there are fewer links to C; the one link to C comes from an important page and hence is of high value. ● If web surfers who start on a random page have an 85% likelihood of choosing a random link from the page they are currently visiting, and a 15% likelihood of jumping to a page chosen at random from the entire web, they will reach Page E 8.1% of the time. ● (The 15% likelihood of jumping to an arbitrary page corresponds to a damping factor of 85%.) ● Without damping, all web surfers would eventually end up on Pages A, B, or C, and all other pages would have Page Rank zero. ● In the presence of damping, Page A effectively links to all pages in the web, even though it has no outgoing links of its own.
  • 22.
  • 23. Page Rank ● Cartoon illustrating the basic principle of Page Rank. ● The size of each face is proportional to the total size of the other faces which are pointing to it.
  • 24. Internet Application ✔ Markov models have also been used to analyze web navigation behavior of users. ✔ A user's web link transition on a particular website can be modeled using first- or second- order ✔ Markov models and can be used to make predictions regarding future navigation and to personalize the web page for an individual user.
  • 25. Q &A ??? ● Any queries ??????