SlideShare a Scribd company logo
1 of 48
CS 221: Artificial Intelligence Lecture 3: Probability and Bayes Nets Sebastian Thrun and Peter Norvig Naranbaatar Bayanbat, Juthika Dabholkar, Carlos Fernandez-Granda, Yan Largman, Cameron Schaeffer, Matthew Seal Slide Credit: Dan Klein (UC Berkeley)
Goal of Today ,[object Object]
Probability ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Probability ,[object Object]
Probability ,[object Object]
Joint Probability ,[object Object],Has cancer? Test positive? P(C,TP) yes yes 0.018 yes no 0.002 no yes 0.196 no no 0.784
Joint Probability ,[object Object],[object Object]
Conditional Probability ,[object Object],[object Object]
Conditional Probability ,[object Object],[object Object],Has cancer? Test positive? P(TP, C) yes yes yes no no yes no no Has cancer? Test positive? P(TP, C) yes yes 0.018 yes no 0.002 no yes 0.196 no no 0.784
Conditional Probability ,[object Object],Has cancer? Test positive? P(TP, C) yes yes 0.018 yes no 0.002 no yes 0.196 no no 0.784
Bayes Network ,[object Object],Cancer Test positive P(cancer) and P(Test positive | cancer) is called the “model” Calculating P(Test positive) is called “prediction” Calculating P(Cancer | test positive) is called “diagnostic reasoning”
Bayes Network ,[object Object],Cancer Test positive Cancer Test positive versus
Independence ,[object Object],[object Object],[object Object],Cancer Test positive
Independence ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Independence ,[object Object],h 0.5 t 0.5 h 0.5 t 0.5 h 0.5 t 0.5
Example: Independence? T W P warm sun 0.4 warm rain 0.1 cold sun 0.2 cold rain 0.3 T W P warm sun 0.3 warm rain 0.2 cold sun 0.3 cold rain 0.2 T P warm 0.5 cold 0.5 W P sun 0.6 rain 0.4
Conditional Independence ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Bayes Network Representation Cavity Catch Toothache P(cavity) P(catch | cavity) P(toothache | cavity) 1 parameter 2 parameters 2 parameters Versus: 2 3 -1 = 7 parameters
A More Realistic Bayes Network
Example Bayes Network: Car
Graphical Model Notation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Coin Flips ,[object Object],[object Object],X 1 X 2 X n
Example: Traffic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],R T
Example: Alarm Network ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],B urglary E arthquake A larm J ohn calls M ary calls
Bayes Net Semantics ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],A 1 X A n A Bayes net = Topology (graph) + Local Conditional Probabilities
Probabilities in BNs ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Coin Flips X 1 X 2 X n Only distributions whose variables are absolutely independent can be represented by a Bayes ’ net with no arcs. h 0.5 t 0.5 h 0.5 t 0.5 h 0.5 t 0.5
Example: Traffic R T +r 1/4  r 3/4 +r +t 3/4  t 1/4  r +t 1/2  t 1/2 R T joint +r +t 3/16 +r -t 1/16 -r +t 3/8 -r -t 3/8
Example: Alarm Network B urglary E arthqk A larm J ohn calls M ary calls How many parameters? 1 1 4 2 2 10
Example: Alarm Network B urglary E arthqk A larm J ohn calls M ary calls B P(B) +b 0.001  b 0.999 E P(E) +e 0.002  e 0.998 B E A P(A|B,E) +b +e +a 0.95 +b +e  a 0.05 +b  e +a 0.94 +b  e  a 0.06  b +e +a 0.29  b +e  a 0.71  b  e +a 0.001  b  e  a 0.999 A J P(J|A) +a +j 0.9 +a  j 0.1  a +j 0.05  a  j 0.95 A M P(M|A) +a +m 0.7 +a  m 0.3  a +m 0.01  a  m 0.99
Example: Alarm Network B urglary E arthquake A larm J ohn calls M ary calls
Bayes ’ Nets ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Remainder of this Class ,[object Object],[object Object]
Causal Chains ,[object Object],[object Object],[object Object],X Y Z Yes! X: Low pressure Y: Rain Z: Traffic
Common Cause ,[object Object],[object Object],[object Object],[object Object],X Y Z Yes! Y: Alarm X: John calls Z: Mary calls
Common Effect ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],X Y Z X: Raining Z: Ballgame Y: Traffic
The General Case ,[object Object],[object Object],[object Object]
Reachability ,[object Object],[object Object],[object Object],[object Object],[object Object],R T B D L
Reachability (D-Separation) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Active Triples Inactive Triples
Example Yes R T B T ’
Example R T B D L T ’ Yes Yes Yes
Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],T S D R Yes
A Common BN T 1 T 2 A T N T 3 … Unobservable cause Tests time Diagnostic Reasoning:
A Common BN T 1 T 2 A T N T 3 … Unobservable cause Tests time Diagnostic Reasoning:
A Common BN T 1 T 2 A T N T 3 … Unobservable cause Tests time Diagnostic Reasoning:
A Common BN T 1 T 2 A T N T 3 … Unobservable cause Tests time Diagnostic Reasoning:
Causality? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Summary ,[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

Viewers also liked

Garage 紹介 slideshare
Garage 紹介 slideshareGarage 紹介 slideshare
Garage 紹介 slideshareToshikazu Oka
 
Reactancia e impedancia ( imprimir)
Reactancia  e  impedancia  ( imprimir)Reactancia  e  impedancia  ( imprimir)
Reactancia e impedancia ( imprimir)Dany Saccsa
 
Anexos a heráldica do exército na república portuguesa no sé
Anexos a heráldica do exército na república portuguesa no séAnexos a heráldica do exército na república portuguesa no sé
Anexos a heráldica do exército na república portuguesa no séCleber de Oliveira
 
Cs221 lecture4-fall11
Cs221 lecture4-fall11Cs221 lecture4-fall11
Cs221 lecture4-fall11darwinrlo
 
Marketing artikel factomagazine 1107 en 1108 (white space conflict)
Marketing artikel factomagazine 1107 en 1108 (white space conflict)Marketing artikel factomagazine 1107 en 1108 (white space conflict)
Marketing artikel factomagazine 1107 en 1108 (white space conflict)Mobiliteitsscan.com
 
Cs221 lecture6-fall11
Cs221 lecture6-fall11Cs221 lecture6-fall11
Cs221 lecture6-fall11darwinrlo
 
One size doesn’t fit all final draft
One size doesn’t fit all final draftOne size doesn’t fit all final draft
One size doesn’t fit all final draftTrenton Akers
 
A retrospective and comparative analysis of food crises and food insecurity i...
A retrospective and comparative analysis of food crises and food insecurity i...A retrospective and comparative analysis of food crises and food insecurity i...
A retrospective and comparative analysis of food crises and food insecurity i...Sahel and West Africa Club (SWAC/OECD)
 
Final portfolio michael voit 140130
Final portfolio michael voit 140130Final portfolio michael voit 140130
Final portfolio michael voit 140130voit1
 
2013 top 7 wis hes
2013 top 7 wis hes2013 top 7 wis hes
2013 top 7 wis hesSunho Lee
 

Viewers also liked (20)

About WIL group
About WIL groupAbout WIL group
About WIL group
 
Garage 紹介 slideshare
Garage 紹介 slideshareGarage 紹介 slideshare
Garage 紹介 slideshare
 
Krishi mitr
Krishi mitrKrishi mitr
Krishi mitr
 
Reactancia e impedancia ( imprimir)
Reactancia  e  impedancia  ( imprimir)Reactancia  e  impedancia  ( imprimir)
Reactancia e impedancia ( imprimir)
 
You tube
You tubeYou tube
You tube
 
Anexos a heráldica do exército na república portuguesa no sé
Anexos a heráldica do exército na república portuguesa no séAnexos a heráldica do exército na república portuguesa no sé
Anexos a heráldica do exército na república portuguesa no sé
 
Audience theories
Audience theoriesAudience theories
Audience theories
 
Congresmap VSG congres 2011
Congresmap VSG congres 2011Congresmap VSG congres 2011
Congresmap VSG congres 2011
 
La carta de garcia.
La carta de garcia.La carta de garcia.
La carta de garcia.
 
Cs221 lecture4-fall11
Cs221 lecture4-fall11Cs221 lecture4-fall11
Cs221 lecture4-fall11
 
Marketing artikel factomagazine 1107 en 1108 (white space conflict)
Marketing artikel factomagazine 1107 en 1108 (white space conflict)Marketing artikel factomagazine 1107 en 1108 (white space conflict)
Marketing artikel factomagazine 1107 en 1108 (white space conflict)
 
Cs221 lecture6-fall11
Cs221 lecture6-fall11Cs221 lecture6-fall11
Cs221 lecture6-fall11
 
Warm up
Warm upWarm up
Warm up
 
One size doesn’t fit all final draft
One size doesn’t fit all final draftOne size doesn’t fit all final draft
One size doesn’t fit all final draft
 
A retrospective and comparative analysis of food crises and food insecurity i...
A retrospective and comparative analysis of food crises and food insecurity i...A retrospective and comparative analysis of food crises and food insecurity i...
A retrospective and comparative analysis of food crises and food insecurity i...
 
Cultural revolution
Cultural revolutionCultural revolution
Cultural revolution
 
Final portfolio michael voit 140130
Final portfolio michael voit 140130Final portfolio michael voit 140130
Final portfolio michael voit 140130
 
2013 top 7 wis hes
2013 top 7 wis hes2013 top 7 wis hes
2013 top 7 wis hes
 
Light present
Light presentLight present
Light present
 
Warm up 3A
Warm up 3AWarm up 3A
Warm up 3A
 

Similar to Cs221 lecture3-fall11

08 Exponential Random Graph Models (ERGM)
08 Exponential Random Graph Models (ERGM)08 Exponential Random Graph Models (ERGM)
08 Exponential Random Graph Models (ERGM)dnac
 
08 Inference for Networks – DYAD Model Overview (2017)
08 Inference for Networks – DYAD Model Overview (2017)08 Inference for Networks – DYAD Model Overview (2017)
08 Inference for Networks – DYAD Model Overview (2017)Duke Network Analysis Center
 
DTI brain networks analysis
DTI brain networks analysisDTI brain networks analysis
DTI brain networks analysisemapesce
 
Lecture1
Lecture1Lecture1
Lecture1ntpc08
 
CS221: HMM and Particle Filters
CS221: HMM and Particle FiltersCS221: HMM and Particle Filters
CS221: HMM and Particle Filterszukun
 
NIPS2007: structured prediction
NIPS2007: structured predictionNIPS2007: structured prediction
NIPS2007: structured predictionzukun
 
The Relation Between Acausality and Interference in Quantum-Like Bayesian Net...
The Relation Between Acausality and Interference in Quantum-Like Bayesian Net...The Relation Between Acausality and Interference in Quantum-Like Bayesian Net...
The Relation Between Acausality and Interference in Quantum-Like Bayesian Net...Catarina Moreira
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probabilityguest45a926
 
NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)Christian Robert
 
Review Of Probability
Review Of ProbabilityReview Of Probability
Review Of ProbabilityMALAKI12003
 

Similar to Cs221 lecture3-fall11 (20)

08 Exponential Random Graph Models (2016)
08 Exponential Random Graph Models (2016)08 Exponential Random Graph Models (2016)
08 Exponential Random Graph Models (2016)
 
08 Exponential Random Graph Models (ERGM)
08 Exponential Random Graph Models (ERGM)08 Exponential Random Graph Models (ERGM)
08 Exponential Random Graph Models (ERGM)
 
08 Inference for Networks – DYAD Model Overview (2017)
08 Inference for Networks – DYAD Model Overview (2017)08 Inference for Networks – DYAD Model Overview (2017)
08 Inference for Networks – DYAD Model Overview (2017)
 
DTI brain networks analysis
DTI brain networks analysisDTI brain networks analysis
DTI brain networks analysis
 
Lecture1
Lecture1Lecture1
Lecture1
 
Bayesian statistics
Bayesian statisticsBayesian statistics
Bayesian statistics
 
CS221: HMM and Particle Filters
CS221: HMM and Particle FiltersCS221: HMM and Particle Filters
CS221: HMM and Particle Filters
 
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
 
AI Lesson 29
AI Lesson 29AI Lesson 29
AI Lesson 29
 
Lesson 29
Lesson 29Lesson 29
Lesson 29
 
NIPS2007: structured prediction
NIPS2007: structured predictionNIPS2007: structured prediction
NIPS2007: structured prediction
 
The Relation Between Acausality and Interference in Quantum-Like Bayesian Net...
The Relation Between Acausality and Interference in Quantum-Like Bayesian Net...The Relation Between Acausality and Interference in Quantum-Like Bayesian Net...
The Relation Between Acausality and Interference in Quantum-Like Bayesian Net...
 
Bayesian networks
Bayesian networksBayesian networks
Bayesian networks
 
AI Lesson 28
AI Lesson 28AI Lesson 28
AI Lesson 28
 
Lesson 28
Lesson 28Lesson 28
Lesson 28
 
CDT 22 slides.pdf
CDT 22 slides.pdfCDT 22 slides.pdf
CDT 22 slides.pdf
 
Basic Concept Of Probability
Basic Concept Of ProbabilityBasic Concept Of Probability
Basic Concept Of Probability
 
NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)NCE, GANs & VAEs (and maybe BAC)
NCE, GANs & VAEs (and maybe BAC)
 
Review Of Probability
Review Of ProbabilityReview Of Probability
Review Of Probability
 
Ch02
Ch02Ch02
Ch02
 

More from darwinrlo

Cs221 probability theory
Cs221 probability theoryCs221 probability theory
Cs221 probability theorydarwinrlo
 
Cs221 logic-planning
Cs221 logic-planningCs221 logic-planning
Cs221 logic-planningdarwinrlo
 
Cs221 linear algebra
Cs221 linear algebraCs221 linear algebra
Cs221 linear algebradarwinrlo
 
Cs221 lecture8-fall11
Cs221 lecture8-fall11Cs221 lecture8-fall11
Cs221 lecture8-fall11darwinrlo
 
Cs221 lecture7-fall11
Cs221 lecture7-fall11Cs221 lecture7-fall11
Cs221 lecture7-fall11darwinrlo
 
Cs221 lecture5-fall11
Cs221 lecture5-fall11Cs221 lecture5-fall11
Cs221 lecture5-fall11darwinrlo
 

More from darwinrlo (7)

Cs221 probability theory
Cs221 probability theoryCs221 probability theory
Cs221 probability theory
 
Cs221 logic-planning
Cs221 logic-planningCs221 logic-planning
Cs221 logic-planning
 
Cs221 linear algebra
Cs221 linear algebraCs221 linear algebra
Cs221 linear algebra
 
Cs221 lecture8-fall11
Cs221 lecture8-fall11Cs221 lecture8-fall11
Cs221 lecture8-fall11
 
Cs221 lecture7-fall11
Cs221 lecture7-fall11Cs221 lecture7-fall11
Cs221 lecture7-fall11
 
Cs221 lecture5-fall11
Cs221 lecture5-fall11Cs221 lecture5-fall11
Cs221 lecture5-fall11
 
Cs221 rl
Cs221 rlCs221 rl
Cs221 rl
 

Recently uploaded

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
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 WorkerThousandEyes
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Recently uploaded (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

Cs221 lecture3-fall11

  • 1. CS 221: Artificial Intelligence Lecture 3: Probability and Bayes Nets Sebastian Thrun and Peter Norvig Naranbaatar Bayanbat, Juthika Dabholkar, Carlos Fernandez-Granda, Yan Largman, Cameron Schaeffer, Matthew Seal Slide Credit: Dan Klein (UC Berkeley)
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. Example: Independence? T W P warm sun 0.4 warm rain 0.1 cold sun 0.2 cold rain 0.3 T W P warm sun 0.3 warm rain 0.2 cold sun 0.3 cold rain 0.2 T P warm 0.5 cold 0.5 W P sun 0.6 rain 0.4
  • 17.
  • 18. Bayes Network Representation Cavity Catch Toothache P(cavity) P(catch | cavity) P(toothache | cavity) 1 parameter 2 parameters 2 parameters Versus: 2 3 -1 = 7 parameters
  • 19. A More Realistic Bayes Network
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27. Example: Coin Flips X 1 X 2 X n Only distributions whose variables are absolutely independent can be represented by a Bayes ’ net with no arcs. h 0.5 t 0.5 h 0.5 t 0.5 h 0.5 t 0.5
  • 28. Example: Traffic R T +r 1/4  r 3/4 +r +t 3/4  t 1/4  r +t 1/2  t 1/2 R T joint +r +t 3/16 +r -t 1/16 -r +t 3/8 -r -t 3/8
  • 29. Example: Alarm Network B urglary E arthqk A larm J ohn calls M ary calls How many parameters? 1 1 4 2 2 10
  • 30. Example: Alarm Network B urglary E arthqk A larm J ohn calls M ary calls B P(B) +b 0.001  b 0.999 E P(E) +e 0.002  e 0.998 B E A P(A|B,E) +b +e +a 0.95 +b +e  a 0.05 +b  e +a 0.94 +b  e  a 0.06  b +e +a 0.29  b +e  a 0.71  b  e +a 0.001  b  e  a 0.999 A J P(J|A) +a +j 0.9 +a  j 0.1  a +j 0.05  a  j 0.95 A M P(M|A) +a +m 0.7 +a  m 0.3  a +m 0.01  a  m 0.99
  • 31. Example: Alarm Network B urglary E arthquake A larm J ohn calls M ary calls
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40. Example Yes R T B T ’
  • 41. Example R T B D L T ’ Yes Yes Yes
  • 42.
  • 43. A Common BN T 1 T 2 A T N T 3 … Unobservable cause Tests time Diagnostic Reasoning:
  • 44. A Common BN T 1 T 2 A T N T 3 … Unobservable cause Tests time Diagnostic Reasoning:
  • 45. A Common BN T 1 T 2 A T N T 3 … Unobservable cause Tests time Diagnostic Reasoning:
  • 46. A Common BN T 1 T 2 A T N T 3 … Unobservable cause Tests time Diagnostic Reasoning:
  • 47.
  • 48.