SlideShare a Scribd company logo
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

More Related Content

What's hot

Bayes Classification
Bayes ClassificationBayes Classification
Bayes Classification
sathish sak
 
Laws of probability
Laws of probabilityLaws of probability
Laws of probability
Brijesh Kumar
 
Lecture on Statistics 1
Lecture on Statistics 1Lecture on Statistics 1
Theorems And Conditional Probability
Theorems And Conditional ProbabilityTheorems And Conditional Probability
Theorems And Conditional Probability
DataminingTools Inc
 
Probability basics and bayes' theorem
Probability basics and bayes' theoremProbability basics and bayes' theorem
Probability basics and bayes' theorem
Balaji P
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
Dr. C.V. Suresh Babu
 
Introduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' TheoromIntroduction to Probability and Bayes' Theorom
Introduction to Probability and Bayes' Theorom
Yugal Gupta
 
03+probability+distributions.ppt
03+probability+distributions.ppt03+probability+distributions.ppt
03+probability+distributions.ppt
abhinav3874
 
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
Marina Santini
 
Chapter 4 Probability Notes
Chapter 4 Probability NotesChapter 4 Probability Notes
Chapter 4 Probability Notes
pwheeles
 
Chapter 4 260110 044531
Chapter 4 260110 044531Chapter 4 260110 044531
Chapter 4 260110 044531
guest25d353
 
Probability
ProbabilityProbability
Probability
Seyid Kadher
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probability
guest45a926
 
Probability Theory
Probability TheoryProbability Theory
Probability Theory
Parul Singh
 
1614 probability-models and concepts
1614 probability-models and concepts1614 probability-models and concepts
1614 probability-models and concepts
Dr 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 Probability
Jason Aubrey
 
Probability & Bayesian Theorem
Probability & Bayesian TheoremProbability & Bayesian Theorem
Probability & Bayesian Theorem
Azmi Mohd Tamil
 
Probability
ProbabilityProbability
Probability
Sanila Khalid
 
Basic concept of probability
Basic concept of probabilityBasic concept of probability
Basic concept of probability
Ikhlas Rahman
 

What's hot (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
 

Similar to Probabilistic Reasoning

Lecture 7
Lecture 7Lecture 7
Lecture 7
butest
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
butest
 
Bayesian statistics
Bayesian statisticsBayesian statistics
Bayesian statistics
Alberto Labarga
 
Probability Theory.pdf
Probability Theory.pdfProbability Theory.pdf
Probability Theory.pdf
codewithmensah
 
Presentation
PresentationPresentation
Presentation
Himani Himmi
 
Multiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximationsMultiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximations
Christian Robert
 
Lesson 26
Lesson 26Lesson 26
Lesson 26
Avijit Kumar
 
AI Lesson 26
AI Lesson 26AI Lesson 26
AI Lesson 26
Assistant Professor
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
butest
 
Probabilistic decision making
Probabilistic decision makingProbabilistic decision making
Probabilistic decision making
shri1984
 
S10
S10S10
S10
butest
 
S10
S10S10
S10
butest
 
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
pujashri1975
 
tps5e_Ch5_3.ppt
tps5e_Ch5_3.ppttps5e_Ch5_3.ppt
tps5e_Ch5_3.ppt
JosephSPalileoJr
 
tps5e_Ch5_3.ppt
tps5e_Ch5_3.ppttps5e_Ch5_3.ppt
tps5e_Ch5_3.ppt
VenkateshPandiri4
 
Ch04 Probability
Ch04 ProbabilityCh04 Probability
Ch04 Probability
Akshay Thapar
 
Basen Network
Basen NetworkBasen Network
Basen Network
guestf7d226
 
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
Christian 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 statistics
Jiri Haviger
 

Similar to Probabilistic Reasoning (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
 

Recently uploaded

Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 

Recently uploaded (20)

Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 

Probabilistic Reasoning

  • 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