Probability

The probability of an event represents the frequency, or chance, that the event will happen.

For notation, if A is an event, P(A) is the probability of the occurrence of the event.

We can define the actual probability of an event, A, as follows:

Probability

Here, A is the event in question. Think of an entire universe of events where anything is possible, and let's represent it as a circle. We can think of a single event, A, as being a smaller circle within that larger universe, as shown in the following diagram:

Probability

Let's now pretend that our universe involves ...

Get Principles of Data Science now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.