Introduction

Introduction

In this section, you'll learn about the foundation of statistics, probability!

Objectives

You will be able to:

  • Understand and explain what is covered in this section
  • Understand and explain why the section will help you to become a data scientist

Combinatorics and Probability

In this section, we'll take a little time to "get our math on" with some basic probability. You're going to start with some basic set theory and look at how to operate on related sets using Python.

From there, we're going to use what we learned about sets to start to learn and apply some of the basic rules of probability.

Factorials and Permutations

Next we're going to dig into factorials, and how they can be used to calculate various permutations.

Combinations

We're then going to examine the difference between permutations and combinations we'll get some practice calculating combinations for everything from drawing letters from a bag to creating soccer teams for a tournament!

Conditional Probability

We start the section off with an introduction to conditional probability. We look at the difference between dependent and independent events, look at how to calculate dependent probabilities, and then introduce some key theorems related to conditional probabilities - the product rule, the chain rule and Bayes theorem.

Partitioning and the Law of Total Probabilities

From there, we introduce the concept of partitioning a sample space, explain the law of total probabilities and then introduce the idea of conditional independence.

Summary

This is another stats heavy section and some of the discrete problems you're solving may not seem to be particularly relevant to machine learning, but we deliberately introduce them so that you'll have the foundations required to be able to make thoughtful choices as we introduce you to a range of new machine learning models in the later sections.