5

Impossible or Improbable – A Gentle Introduction to Probability

Over the next few chapters, we will explore both probability and statistics as methods of examining both data-driven situations and real-world scenarios. The rules of probability govern the basics of prediction. We use probability to define the chances of the occurrence of an event.

In this chapter, we will look at the following topics:

  • What do we mean by “probability”?
  • The differences between the frequentist approach and the Bayesian approach
  • How to visualize probability
  • How to utilize the rules of probability
  • Using confusion matrices to look at the basic metrics

Probability will help us model real-life events that include a sense of randomness and chance. Over the next two ...

Get Principles of Data Science - Third Edition 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.