SlideShare a Scribd company logo
1 of 27
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 1
The Conditional Independence relationship
among the Variables can greatly reduce the
number of Probabilities we specified in order
to define the Full Joint distribution.
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 2
It introduces the Data Structure called a
Bayesian Network to represent the
dependencies among variables and to concise
specification of any Full Joint distribution.
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 3
A Bayesian Network is a
Directed Graph in which each node is
annotated with Quantitative Probability
information
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 4
The Full Specification is as follows:
A set of Random Variables makes up the
nodes of the network. Variable may be
Discrete or Continuous.
A set of directed links or arrows connects
pairs of nodes. if there is an arrow from node
X to node Y, X is said to be parent of Y.
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 5
Each node Xi has a conditional probability
distribution p(Xi |Parents(Xi)) than Quantifies
the effect of the parents on the node.
The graph has no directed cycles (directed,
DAG, or acyclic graph).
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 6
The Set of Nodes and Links
specifies the Conditional independences
relationships that hold in the domain.
The intuitive meaning of an
arrow in a properly constructed network is
usually that X has a direct influence on Y.
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 7
Once the Topology of the
Bayesian Network is laid out, we need only
specify a conditional probability distribution
for each variable given it’s parents.
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 8
Consisting the Variables,
i)Toothache ii)Cavity iii)Catch and iv)Weather.
Here,
Draw the Bayesian Network for the
above Variable
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 9
1) Weather is independent of the other
variables.
2) Toothache and Catch are conditionally
independent, given Cavity.
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 10
This relationships are represents in Bayesian
Network
Weather Cavity
CatchToothache
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 11
Weather Cavity
CatchToothache
Conditionally
independence
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 12
Probabilistic Reasoning - K.Iniya CSE
Weather Cavity
CatchToothache
Absence
of a link
October 9, 2013 13
Probabilistic Reasoning - K.Iniya CSEOctober 9, 2013 14
Weather Cavity
CatchToothache
No direct causal
relationship
Weather Cavity
CatchToothache
Independent
with other
variables
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 15
Consider the variables
i)Dog ii)Venus iii)Pet iv)Human v)Planet
vi)Mercury vii) Cat
BAYESIAN NETWORK?
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 16
Dog
Pet
Cat
Human
Mercury
Planet
Venus
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 17
A Burglar Alarm is installed at Home.
It’s fairly reliable at detecting a burglary and
It also responds for minor Earthquakes.
You have two neighbors John and Mary who
have promised to call you at work when they
hear the alarm
Draw the Bayesian Network
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 18
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 19
Burglary
Alarm
John calls Mary calls
Earthquake
John always calls when hears the alarm,
but sometimes confuses the telephone ringing
with the alarm and calls.
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 20
Mary likes rather loud Music and sometimes
misses the alarm.
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 21
The Burglary and Earthquake directly affect
the probability of the alarm going’s off.
But John and Mary call depends only on
the alarm.
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 22
The degree of approximation can be improved if
we introduce the additional relevant information.
CPT Stands for Conditional Probability Table.
Each row in a CPT contains the conditional
probability of each node for a conditioning case.
A Conditioning Case is just possible combination
of values for the parent nodes(a miniature atomic
event) .
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 23
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 24
Burglary Earthquake
Alarm
John calls Mary calls
Probabilistic Reasoning - K.Iniya CSEOctober 9, 2013 25
Burglary Earthquake
Alarm
John
calls
Mary
calls
P(Burglary)
0.001
P(Earthquake)
0.002
Alarm
t
f
P(John)
0.90
0.05
Alarm
t
f
P(Mary)
0.70
0.01
B E P(Alarm)
t t
t f
f t
f f
0.95
0.94
0.29
0.001
For Boolean Variables, once you know the
probability of a true value is p.
the probability of a false value is 1-p.
A Table for a Boolean variable with k Boolean
parents contains 2 independently specifiable
probabilities.
A node with no parents has only one row
representing prior probabilities.
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 26
k
October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 27

More Related Content

More from Iniya Kannan

More from Iniya Kannan (10)

9 creations
9 creations9 creations
9 creations
 
Converting agricultural waste for useful purposes
Converting agricultural waste for useful purposesConverting agricultural waste for useful purposes
Converting agricultural waste for useful purposes
 
Nano technology
Nano technologyNano technology
Nano technology
 
Controller
ControllerController
Controller
 
Cmp
CmpCmp
Cmp
 
Long run
Long runLong run
Long run
 
Ray tracing
Ray tracingRay tracing
Ray tracing
 
Web mining
Web miningWeb mining
Web mining
 
Tsunami
TsunamiTsunami
Tsunami
 
16-Queen's Problem
16-Queen's Problem16-Queen's Problem
16-Queen's Problem
 

Recently uploaded

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 

Recently uploaded (20)

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

Probabilistic reasoning

  • 1. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 1
  • 2. The Conditional Independence relationship among the Variables can greatly reduce the number of Probabilities we specified in order to define the Full Joint distribution. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 2
  • 3. It introduces the Data Structure called a Bayesian Network to represent the dependencies among variables and to concise specification of any Full Joint distribution. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 3
  • 4. A Bayesian Network is a Directed Graph in which each node is annotated with Quantitative Probability information October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 4
  • 5. The Full Specification is as follows: A set of Random Variables makes up the nodes of the network. Variable may be Discrete or Continuous. A set of directed links or arrows connects pairs of nodes. if there is an arrow from node X to node Y, X is said to be parent of Y. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 5
  • 6. Each node Xi has a conditional probability distribution p(Xi |Parents(Xi)) than Quantifies the effect of the parents on the node. The graph has no directed cycles (directed, DAG, or acyclic graph). October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 6
  • 7. The Set of Nodes and Links specifies the Conditional independences relationships that hold in the domain. The intuitive meaning of an arrow in a properly constructed network is usually that X has a direct influence on Y. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 7
  • 8. Once the Topology of the Bayesian Network is laid out, we need only specify a conditional probability distribution for each variable given it’s parents. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 8
  • 9. Consisting the Variables, i)Toothache ii)Cavity iii)Catch and iv)Weather. Here, Draw the Bayesian Network for the above Variable October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 9
  • 10. 1) Weather is independent of the other variables. 2) Toothache and Catch are conditionally independent, given Cavity. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 10
  • 11. This relationships are represents in Bayesian Network Weather Cavity CatchToothache October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 11
  • 12. Weather Cavity CatchToothache Conditionally independence October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 12
  • 13. Probabilistic Reasoning - K.Iniya CSE Weather Cavity CatchToothache Absence of a link October 9, 2013 13
  • 14. Probabilistic Reasoning - K.Iniya CSEOctober 9, 2013 14 Weather Cavity CatchToothache No direct causal relationship
  • 15. Weather Cavity CatchToothache Independent with other variables October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 15
  • 16. Consider the variables i)Dog ii)Venus iii)Pet iv)Human v)Planet vi)Mercury vii) Cat BAYESIAN NETWORK? October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 16
  • 17. Dog Pet Cat Human Mercury Planet Venus October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 17
  • 18. A Burglar Alarm is installed at Home. It’s fairly reliable at detecting a burglary and It also responds for minor Earthquakes. You have two neighbors John and Mary who have promised to call you at work when they hear the alarm Draw the Bayesian Network October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 18
  • 19. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 19 Burglary Alarm John calls Mary calls Earthquake
  • 20. John always calls when hears the alarm, but sometimes confuses the telephone ringing with the alarm and calls. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 20
  • 21. Mary likes rather loud Music and sometimes misses the alarm. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 21
  • 22. The Burglary and Earthquake directly affect the probability of the alarm going’s off. But John and Mary call depends only on the alarm. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 22
  • 23. The degree of approximation can be improved if we introduce the additional relevant information. CPT Stands for Conditional Probability Table. Each row in a CPT contains the conditional probability of each node for a conditioning case. A Conditioning Case is just possible combination of values for the parent nodes(a miniature atomic event) . October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 23
  • 24. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 24 Burglary Earthquake Alarm John calls Mary calls
  • 25. Probabilistic Reasoning - K.Iniya CSEOctober 9, 2013 25 Burglary Earthquake Alarm John calls Mary calls P(Burglary) 0.001 P(Earthquake) 0.002 Alarm t f P(John) 0.90 0.05 Alarm t f P(Mary) 0.70 0.01 B E P(Alarm) t t t f f t f f 0.95 0.94 0.29 0.001
  • 26. For Boolean Variables, once you know the probability of a true value is p. the probability of a false value is 1-p. A Table for a Boolean variable with k Boolean parents contains 2 independently specifiable probabilities. A node with no parents has only one row representing prior probabilities. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 26 k
  • 27. October 9, 2013 Probabilistic Reasoning - K.Iniya CSE 27