SlideShare une entreprise Scribd logo
1  sur  15
Probabilistic Reasoning



                           Tameem Ahmad
                                          Student
                                          M.Tech.
                                        Z.H.C.E.T.
                                    A.M.U.,Aligarh




  Copyright, 1996 © Dale Carnegie & Associates, Inc.
References:
 NPTEL           National Programme on Technology Enhanced Learning (NPTEL) is
 a Government of India sponsored collaborative educational programme. By developing
 curriculum-based video and web courses the programme aims to enhance the quality of
 engineering education in India. It is being jointly carried out by 7 IITS and IISc Bangalore,
 and is funded by the Ministry of Human Resources Development of the Governament of
 India.

 Computer Based Numerical & Statistical
 Techniques by M.Goyal Laxmi Publications, Ltd., 01-Jan-2008




                                                                                                 2
Probabilistic Reasoning
What???
• Capturing uncertain knowledge
• Probabilistic inference




                                  3
Knowledge representation
  bird(tweety).
  fly(X) :- bird(X).

  ?- fly(tweety).
Yes




                            4
Knowledge representation (Cont.)
   But the real world is not so simple like this… There
   are many other factors…
   A way to handle knowledge representation in real
   problems is to extend logic by using certainty factors.
   IF condition with certainty x THEN fact with certainty
   f(x)
  Replace
smoking -> lung cancer
              or

lotsofconditions, smoking -> lung cancer
With

P(lung cancer | smoking) = 0.6
                                                             5
probabilistic model
 A probabilistic model describes the
 world in terms of a set S of possible
 states - the sample space. We don’t
 know the true state of the world, so we
 (somehow) come up with a probability
 distribution over S which gives the
 probability of any state being the true
 one. The world usually described by a
 set of variables or attributes.
                                           6
Cont…
 let the random variable Sum
 (representing outcome of two die
 throws) be defined thus:
Sum(die1, die2) = die1 +die2
P(Sum = 2) = 1/36,
P(Sum = 3) = 2/36, . . . ,
P(Sum = 12) = 1/36


                                    7
Cont…
 Visit to Asia? A
 Tuberculosis? T
 Either tub. or lung cancer? E
 Lung cancer? L
 Smoking? S
 Bronchitis? B
 Dyspnoea? D
 Positive X-ray? X
                                 8
Cont…
Sample Space
S = {(A = f, T = f,E = f,L = f, S = f,B = f,D = f,X = f),
(A = f, T = f,E = f,L = f, S = f,B = f,D = f,X = t), . . .
………
……….
(A = t, T = t,E = t,L = t, S = t,B = t,D = t,X = t)}




                                                             9
Cont…
 Marginal Probability Distribution

 For example, P(A = t,D = f)
 = P(A = t, T = f,E = f,L = f, S = f,B = f,D = f,X = f)
 + P(A = t, T = f,E = f,L = f, S = f,B = f,D = f,X = t)
 + P(A = t, T = f,E = f,L = f, S = f,B = t,D = f,X = f)
 + P(A = t, T = f,E = f,L = f, S = f,B = t,D = f,X = t)
 ...
 P(A = t, T = t,E = t,L = t, S = t,B = t,D = f,X = t)
 This has 64 summands!

                                                          10
Cont…
 Conditional Probablity




                          11
Knowledge engineering for
uncertain reasoning
Decide what to talk about
Decide on a vocabulary of random variables
Encode general knowledge about the
dependence
Encode a description of the specific problem
instance
Pose queries to the inference procedure and get
answers


                                             12
Probabilistic Inference Rules
 Two rules in probability theory are important for inferencing, namely, the
 product rule and the Bayes' rule.




                                                                              13
Cont…
 Suppose one has been tested positive for a disease; what is the
 probability that you actually have the disease?
 It depends on the accuracy and sensitivity of the test, and on
 the background (prior) probability of the disease.
 Let P(Test=+ve | Disease=true) = 0.95 (95%),
 so the true negative rate, P(Test=-ve | Disease=true), is 0.05
 (5%).
 Let P(Test=+ve | Disease=false) = 0.05, so the false positive
 rate is also 5%.
 Suppose the disease is rare: P(Disease=true) = 0.01 (1%).




                                                               14
Cont…



Applying Bayesian




                    15

Contenu connexe

Tendances

Bayes Classification
Bayes ClassificationBayes Classification
Bayes Classificationsathish sak
 
Theorems And Conditional Probability
Theorems And Conditional ProbabilityTheorems And Conditional Probability
Theorems And Conditional ProbabilityDataminingTools Inc
 
Probability basics and bayes' theorem
Probability basics and bayes' theoremProbability basics and bayes' theorem
Probability basics and bayes' theoremBalaji P
 
Introduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromIntroduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromYugal Gupta
 
03+probability+distributions.ppt
03+probability+distributions.ppt03+probability+distributions.ppt
03+probability+distributions.pptabhinav3874
 
Mathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability TheoryMathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability TheoryMarina Santini
 
Chapter 4 Probability Notes
Chapter 4 Probability NotesChapter 4 Probability Notes
Chapter 4 Probability Notespwheeles
 
Chapter 4 260110 044531
Chapter 4 260110 044531Chapter 4 260110 044531
Chapter 4 260110 044531guest25d353
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probabilityguest45a926
 
Probability Theory
Probability TheoryProbability Theory
Probability TheoryParul Singh
 
1614 probability-models and concepts
1614 probability-models and concepts1614 probability-models and concepts
1614 probability-models and conceptsDr Fereidoun Dejahang
 
Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities Marina Santini
 
Math 1300: Section 8-1 Sample Spaces, Events, and Probability
Math 1300: Section 8-1 Sample Spaces, Events, and ProbabilityMath 1300: Section 8-1 Sample Spaces, Events, and Probability
Math 1300: Section 8-1 Sample Spaces, Events, and ProbabilityJason Aubrey
 
Probability & Bayesian Theorem
Probability & Bayesian TheoremProbability & Bayesian Theorem
Probability & Bayesian TheoremAzmi Mohd Tamil
 
Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probabilityIkhlas Rahman
 

Tendances (20)

Bayes Classification
Bayes ClassificationBayes Classification
Bayes Classification
 
Laws of probability
Laws of probabilityLaws of probability
Laws of probability
 
Lecture on Statistics 1
Lecture on Statistics 1Lecture on Statistics 1
Lecture on Statistics 1
 
Theorems And Conditional Probability
Theorems And Conditional ProbabilityTheorems And Conditional Probability
Theorems And Conditional Probability
 
Probability basics and bayes' theorem
Probability basics and bayes' theoremProbability basics and bayes' theorem
Probability basics and bayes' theorem
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
 
Introduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromIntroduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' Theorom
 
03+probability+distributions.ppt
03+probability+distributions.ppt03+probability+distributions.ppt
03+probability+distributions.ppt
 
Mathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability TheoryMathematics for Language Technology: Introduction to Probability Theory
Mathematics for Language Technology: Introduction to Probability Theory
 
Chapter 4 Probability Notes
Chapter 4 Probability NotesChapter 4 Probability Notes
Chapter 4 Probability Notes
 
Chapter 4 260110 044531
Chapter 4 260110 044531Chapter 4 260110 044531
Chapter 4 260110 044531
 
Probability
ProbabilityProbability
Probability
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probability
 
Probability Theory
Probability TheoryProbability Theory
Probability Theory
 
1614 probability-models and concepts
1614 probability-models and concepts1614 probability-models and concepts
1614 probability-models and concepts
 
Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities Lecture: Joint, Conditional and Marginal Probabilities
Lecture: Joint, Conditional and Marginal Probabilities
 
Math 1300: Section 8-1 Sample Spaces, Events, and Probability
Math 1300: Section 8-1 Sample Spaces, Events, and ProbabilityMath 1300: Section 8-1 Sample Spaces, Events, and Probability
Math 1300: Section 8-1 Sample Spaces, Events, and Probability
 
Probability & Bayesian Theorem
Probability & Bayesian TheoremProbability & Bayesian Theorem
Probability & Bayesian Theorem
 
Probability
ProbabilityProbability
Probability
 
Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probability
 

Similaire à Probabilistic Reasoning Models

Lecture 7
Lecture 7Lecture 7
Lecture 7butest
 
Lecture 7
Lecture 7Lecture 7
Lecture 7butest
 
Probability Theory.pdf
Probability Theory.pdfProbability Theory.pdf
Probability Theory.pdfcodewithmensah
 
Multiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximationsMultiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximationsChristian Robert
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningbutest
 
Probabilistic decision making
Probabilistic decision makingProbabilistic decision making
Probabilistic decision makingshri1984
 
Module-2_Notes-with-Example for data science
Module-2_Notes-with-Example for data scienceModule-2_Notes-with-Example for data science
Module-2_Notes-with-Example for data sciencepujashri1975
 
Approximate Bayesian model choice via random forests
Approximate Bayesian model choice via random forestsApproximate Bayesian model choice via random forests
Approximate Bayesian model choice via random forestsChristian Robert
 
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...Federico Cerutti
 
Novelties in social science statistics
Novelties in social science statisticsNovelties in social science statistics
Novelties in social science statisticsJiri Haviger
 

Similaire à Probabilistic Reasoning Models (20)

Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Bayesian statistics
Bayesian statisticsBayesian statistics
Bayesian statistics
 
Probability Theory.pdf
Probability Theory.pdfProbability Theory.pdf
Probability Theory.pdf
 
Presentation
PresentationPresentation
Presentation
 
Multiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximationsMultiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximations
 
Lesson 26
Lesson 26Lesson 26
Lesson 26
 
AI Lesson 26
AI Lesson 26AI Lesson 26
AI Lesson 26
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Probabilistic decision making
Probabilistic decision makingProbabilistic decision making
Probabilistic decision making
 
S10
S10S10
S10
 
S10
S10S10
S10
 
Module-2_Notes-with-Example for data science
Module-2_Notes-with-Example for data scienceModule-2_Notes-with-Example for data science
Module-2_Notes-with-Example for data science
 
tps5e_Ch5_3.ppt
tps5e_Ch5_3.ppttps5e_Ch5_3.ppt
tps5e_Ch5_3.ppt
 
tps5e_Ch5_3.ppt
tps5e_Ch5_3.ppttps5e_Ch5_3.ppt
tps5e_Ch5_3.ppt
 
Ch04 Probability
Ch04 ProbabilityCh04 Probability
Ch04 Probability
 
Basen Network
Basen NetworkBasen Network
Basen Network
 
Approximate Bayesian model choice via random forests
Approximate Bayesian model choice via random forestsApproximate Bayesian model choice via random forests
Approximate Bayesian model choice via random forests
 
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
 
Novelties in social science statistics
Novelties in social science statisticsNovelties in social science statistics
Novelties in social science statistics
 

Dernier

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 

Dernier (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 

Probabilistic Reasoning Models

  • 1. Probabilistic Reasoning Tameem Ahmad Student M.Tech. Z.H.C.E.T. A.M.U.,Aligarh Copyright, 1996 © Dale Carnegie & Associates, Inc.
  • 2. References: NPTEL National Programme on Technology Enhanced Learning (NPTEL) is a Government of India sponsored collaborative educational programme. By developing curriculum-based video and web courses the programme aims to enhance the quality of engineering education in India. It is being jointly carried out by 7 IITS and IISc Bangalore, and is funded by the Ministry of Human Resources Development of the Governament of India. Computer Based Numerical & Statistical Techniques by M.Goyal Laxmi Publications, Ltd., 01-Jan-2008 2
  • 3. Probabilistic Reasoning What??? • Capturing uncertain knowledge • Probabilistic inference 3
  • 4. Knowledge representation bird(tweety). fly(X) :- bird(X). ?- fly(tweety). Yes 4
  • 5. Knowledge representation (Cont.) But the real world is not so simple like this… There are many other factors… A way to handle knowledge representation in real problems is to extend logic by using certainty factors. IF condition with certainty x THEN fact with certainty f(x) Replace smoking -> lung cancer or lotsofconditions, smoking -> lung cancer With P(lung cancer | smoking) = 0.6 5
  • 6. probabilistic model A probabilistic model describes the world in terms of a set S of possible states - the sample space. We don’t know the true state of the world, so we (somehow) come up with a probability distribution over S which gives the probability of any state being the true one. The world usually described by a set of variables or attributes. 6
  • 7. Cont… let the random variable Sum (representing outcome of two die throws) be defined thus: Sum(die1, die2) = die1 +die2 P(Sum = 2) = 1/36, P(Sum = 3) = 2/36, . . . , P(Sum = 12) = 1/36 7
  • 8. Cont… Visit to Asia? A Tuberculosis? T Either tub. or lung cancer? E Lung cancer? L Smoking? S Bronchitis? B Dyspnoea? D Positive X-ray? X 8
  • 9. Cont… Sample Space S = {(A = f, T = f,E = f,L = f, S = f,B = f,D = f,X = f), (A = f, T = f,E = f,L = f, S = f,B = f,D = f,X = t), . . . ……… ………. (A = t, T = t,E = t,L = t, S = t,B = t,D = t,X = t)} 9
  • 10. Cont… Marginal Probability Distribution For example, P(A = t,D = f) = P(A = t, T = f,E = f,L = f, S = f,B = f,D = f,X = f) + P(A = t, T = f,E = f,L = f, S = f,B = f,D = f,X = t) + P(A = t, T = f,E = f,L = f, S = f,B = t,D = f,X = f) + P(A = t, T = f,E = f,L = f, S = f,B = t,D = f,X = t) ... P(A = t, T = t,E = t,L = t, S = t,B = t,D = f,X = t) This has 64 summands! 10
  • 12. Knowledge engineering for uncertain reasoning Decide what to talk about Decide on a vocabulary of random variables Encode general knowledge about the dependence Encode a description of the specific problem instance Pose queries to the inference procedure and get answers 12
  • 13. Probabilistic Inference Rules Two rules in probability theory are important for inferencing, namely, the product rule and the Bayes' rule. 13
  • 14. Cont… Suppose one has been tested positive for a disease; what is the probability that you actually have the disease? It depends on the accuracy and sensitivity of the test, and on the background (prior) probability of the disease. Let P(Test=+ve | Disease=true) = 0.95 (95%), so the true negative rate, P(Test=-ve | Disease=true), is 0.05 (5%). Let P(Test=+ve | Disease=false) = 0.05, so the false positive rate is also 5%. Suppose the disease is rare: P(Disease=true) = 0.01 (1%). 14