From the course: Machine Learning Foundations: Statistics
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
The uniform distribution - Python Tutorial
From the course: Machine Learning Foundations: Statistics
The uniform distribution
- [Instructor] Imagine you're invited to a birthday party, but your friend forgot to note the date. If you try to guess his birthday randomly, you'll struggle a lot. The probability of guessing his birthday equals one divided by 365 as there are 365 days in a year. So every day of the year is equally likely to be his birthday. This probability follows a uniform distribution. Uniform distribution is a form of probability distribution in which an event is equally likely to occur between a certain interval. The most famous example of uniform distribution is rolling a six-sided die. The probability of getting any number from one to six is equally likely and is equal to 1/6 or approximately 0.167. (upbeat music) (bell buzzes) Can you think of one more famous example of uniform distribution? That's right, tossing a coin. The probability of getting heads and probability of getting tails is the same and equal to 0.5.…
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.