1 / 33

Advanced Artificial Intelligence

Advanced Artificial Intelligence. Lecture 2A: Probability Theory Review. Outline. Axioms of Probability Product and chain rules Bayes Theorem Random variables PDFs and CDFs Expected value and variance. Introduction.

josephcking
Télécharger la présentation

Advanced 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. Advanced Artificial Intelligence Lecture 2A: Probability Theory Review

  2. Outline • Axioms of Probability • Product and chain rules • Bayes Theorem • Random variables • PDFs and CDFs • Expected value and variance

  3. Introduction • Sample space - set of all possible outcomes of a random experiment • Dice roll: {1, 2, 3, 4, 5, 6} • Coin toss: {Tails, Heads} • Event space - subsets of elements in a sample space • Dice roll: {1, 2, 3} or {2, 4, 6} • Coin toss: {Tails}

  4. examples • Coin flip • P(H) • P(T) • P(H,H,H) • P(x1=x2=x3=x4) • P({x1,x2,x3,x4} contains more than 3 heads)

  5. Set operations

  6. Conditional Probability

  7. Conditional Probability

  8. examples • Coin flip • P(x1=H)=1/2 • P(x2=H|x1=H)=0.9 • P(x2=T|x1=T)=0.8 • P(x2=H)=?

  9. Conditional Probability

  10. Conditional Probability

  11. Quiz • P(D1=sunny)=0.9 • P(D2=sunny|D1=sunny)=0.8 • P(D2=rainy|D1=sunny)=? • P(D2=sunny|D1=rainy)=0.6 • P(D2=rainy|D1=rainy)=? • P(D2=sunny)=? • P(D3=sunny)=?

  12. Joint Probability • Multiple events: cancer, test result

  13. Joint Probability • The problem with joint distributions It takes 2D-1 numbers to specify them!

  14. Conditional Probability • Describes the cancer test: • Put this together with: Prior probability

  15. Conditional Probability • We have: • We can now calculate joint probabilities

  16. Conditional Probability • “Diagnostic” question: How likely do is cancer given a positive test?

  17. Bayes Theorem

  18. Bayes Theorem Posterior Probability Prior Probability Likelihood Normalizing Constant

  19. Bayes Theorem

  20. Random Variables

  21. Cumulative Distribution Functions

  22. Probability Density Functions

  23. Probability Density Functions

  24. Probability Density Functions

  25. Probability Density Functions f(X) X

  26. Probability Density Functions f(X) X

  27. Probability Density Functions f(x) x F(x) 1 x

  28. Probability Density Functions f(x) x F(x) 1 x

  29. Expectation

  30. Expectation

  31. Variance

  32. Gaussian Distributions

More Related