From the course: Machine Learning Foundations: Statistics
Unlock this course with a free trial
Join today to access over 24,200 courses taught by industry experts.
The Bernoulli distribution - Python Tutorial
From the course: Machine Learning Foundations: Statistics
The Bernoulli distribution
- [Interviewer] Imagine I wanted to check your knowledge of statistics and the easiest way to do that is to give you a small quiz that contains only 10 questions. That could be bad news if you skipped some lessons. So if you have, go ahead and check them out. The good news is that the quiz has only true or false answers. This means that there is a 50% probability that your answer is correct and a 50% probability that it isn't correct. In this example, we have both binomial and Bernoulli distributions taking place. Wait, how is that possible? Bear with me. The binomial distribution represents the expected number of events happening in a given number of trials if each event has a specified probability. For example, if we flip a coin 10 times we get heads or tails every trial and here we can apply the binomial distribution. If we look at the single trial, we have a Bernoulli distribution. So Bernoulli distribution is a…
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.