Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← Bayes Rule Diagram - Intro to Machine Learning

Get Embed Code
5 Languages

Showing Revision 3 created 05/25/2016 by Udacity Robot.

  1. What we really said that we had a situation that prior
  2. a test is a certain sensitivity and a certain specificity.
  3. When you receive say a positive test result, what you do is you take your prior,
  4. you multiply in the probability of this test result.
  5. Given C, and you multiply in the probability of the test result given not C.
  6. So this is your branch for the consideration that you have cancer.
  7. This is your branch for the consideration you have no cancer.
  8. When you're done with this, you arrive at a number that now combines the cancer
  9. hypothesis with the test result.
  10. Both for the cancer hypothesis and the not cancer hypothesis.
  11. Now what you do, you add those up.
  12. And they normally don't add up to one.
  13. You get a certain quantity,
  14. which happens to be the total probability that the test is what it was.
  15. This case positive.
  16. And all you do next is divide or
  17. normalize this thing over here by the sum over here.
  18. And the same on the right side.
  19. The divider is the same for
  20. both cases because this is your cancer range, your non cancer range.
  21. But this guy doesn't rely on the cancer variable anymore.
  22. What you now get out is the desired posterior probability, and
  23. those add up to one if you did everything correct as shown over here.
  24. This is your algorithm for Bayes Rule