From the course: Machine Learning Foundations: Probability

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

The sum rule

The sum rule

- [Instructor] Occasionally, we want to find out the probability of two events. for example, the probability of getting one or two when rolling a die, or the probability of France winning a handball World Cup and Germany winning a handball World Cup. Obviously, these two events cannot occur simultaneously, and we call these types of events mutually exclusive events. This means if we have events A and B, they can't both happen. So if event A happens, event B does not happen, and if event B happens, event A does not happen. So for rolling a die, both probabilities, the probability of rolling one and the probability of rolling two are 1/6. And now we can calculate the probability of getting one or two as their sum, since one or two are both parts of the sample space and either one or the other happens, or neither happens. If we say event P of A is the probability of getting one, and P of B is the probability of getting two,…

Contents