1 / 37

INC 551 Artificial Intelligence

INC 551 Artificial Intelligence. Lecture 8 Models of Uncertainty. Inference by Enumeration. Bayesian Belief Network Model. Causes -> Effect. Graph Structure shows dependency. Burglar Alarm Example. My house has a burglar alarm but sometimes it rings because

macha
Download Presentation

INC 551 Artificial Intelligence

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. INC 551 Artificial Intelligence Lecture 8 Models of Uncertainty

  2. Inference by Enumeration

  3. Bayesian Belief Network Model Causes -> Effect Graph Structure shows dependency

  4. Burglar Alarm Example My house has a burglar alarm but sometimes it rings because of an earthquake.My neighbors, John and Mary promise me to call if they hear the alarm. However, their ears are not perfect.

  5. One Way to Create BBN

  6. Computing Probability = 0.90x0.70x0.001x0.999x0.998 = 0.00062

  7. BBN Construction There are many ways to construct BBN of a problem because the events depend on each other (related). Therefore, it depends on the order of events that you consider. The most simple is the most compact.

  8. Not compact

  9. Inference Problem Find For example, find

  10. Inference by Enumeration Note: let α is called “Normalized Constant” y are other events

  11. (summation of all events)

  12. Calculation Tree Inefficient, Compute P(j|a)P(m|a) for every value of e

  13. Next, we have to find P(~b|j,m) and find α = 1/P(j,m)

  14. Approximate Inference Idea: Count from real examples We call this procedure “Sampling” Sampling = get real examples from the world model

  15. Sampling Example Cloudy = มีเมฆ Sprinkler = ละอองน้ำ

  16. 1 Sample

  17. Rejection Sampling To find Idea: Count only the sample that agree with e

  18. Rejection Sampling Drawback: There are not many samples that agree with e From the example above, from 100 samples, only 27 are Usable.

  19. Likelihood Weighting Idea: Generate only samples that are relevant with e However, we must use “weighted sampling” e.g. Find

  20. Weighted Sampling Fix sprinkler = TRUE Wet Grass = TRUE Sample from P(Cloudy)=0.5 , suppose we get “true”

  21. Sprinkler already has value = true, therefore we multiply with weight = 0.1

  22. Sample from P(Rain)=0.8 , suppose we get “true”

  23. WetGrass already has value = true, therefore we multiply with weight = 0.99

  24. Finally, we got a sample (t,t,t,t) With weight = 0.099

  25. Temporal Model (Time) When the events are tagged with timestamp Each node is considered “state”

  26. Markov Process Let Xt = state For Markov processes, Xt depends only on finite number of previous xt

  27. Hidden Markov Model (HMM) Each state has observation, Et. We cannot see “state”, but we see “observation”.

More Related