From the course: Machine Learning Foundations: Probability
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Introduction to Bayes' theorem - Python Tutorial
From the course: Machine Learning Foundations: Probability
Introduction to Bayes' theorem
- [Instructor] Imagine this scenario in your company. The probability that a person is working longer than five years is 45%, and the probability that a person is using ChatGPT is 15%. Given that 8% of those that use ChatGPT also work longer than five years, what percent of those that work longer than five years also use ChatGPT? Now at first, this may seem to you like play with words, but let's take it step by step. We can recognize two events. Event A, person working more than five years. And event B, person using ChatGPT. Let's see what we know. P of A equals 0.45. P of B equals 0.15. And P of B with A equals 0.08. And we would like to calculate P of A with B. If you recall conditional probability, it is the probability of one event given the occurrence of one or more other events. For example, the probability of event A happening given the occurrence of event B happening, P of A with B. We can write it down as P…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.