Mathematics and Statistics for AI

The mathematical tools on which machine learning algorithms are built: vectors and matrices, probability and distributions, differentiation and optimization, and statistical inference, with applied examples in NumPy.

  • 12 lessons
  • 3 levels
  • about 2.7 hours
  • 5 quizzes
Your progress in the track 0%

About the track

An introductory track that bridges the gap between high-school mathematics and the mathematics of machine learning. It focuses on geometric intuition and on what you actually need to understand algorithms and read scientific papers, not on complete proofs. It is best studied before the Machine Learning track or alongside it.

1

Applied Linear Algebra

Beginner · 51 minutes · 4 lessons

0%

Vectors and matrices are the language for representing data and models: every image, every sentence and every layer in a neural network is written with them.

Learning objectives

  • Represent data with vectors and matrices
  • Perform the basic operations on them
  • Understand projection and eigenvalues intuitively

Prerequisites

  • None
  1. Vectors and Data Representation 12 minutes
  2. Matrices and Matrix Multiplication 14 minutes
  3. Eigenvalues and Singular Value Decomposition 15 minutes
  4. Projections and Least Squares 10 minutes
Short quiz: Applied Linear Algebra — Mathematics and Statistics for AI6 questions · instant grading
2

Probability and Calculus

Intermediate · 53 minutes · 4 lessons

0%

Probability describes the uncertainty in data and predictions, and calculus tells us how to adjust the model's parameters to reduce the error.

Learning objectives

  • Apply the rules of probability and Bayes' theorem
  • Work with common distributions
  • Compute the gradient and use the chain rule

Prerequisites

  • Complete the beginner level
  1. Probability Basics and Bayes’ Theorem 14 minutes
  2. Random Variables and Distributions 13 minutes
  3. Derivatives and Gradients 14 minutes
  4. The Chain Rule and Automatic Differentiation 12 minutes
Short quiz: Probability and Calculus — Mathematics and Statistics for AI6 questions · instant grading
3

Optimization and Statistical Inference

Advanced · 55 minutes · 4 lessons

0%

How models actually learn (optimization), and how we judge statistically that one model is better than another.

Learning objectives

  • Understand gradient descent and its variants
  • Understand maximum likelihood estimation
  • Interpret hypothesis tests and confidence intervals when comparing models

Prerequisites

  • Complete the two previous levels
  1. Gradient Descent and the Learning Rate 14 minutes
  2. Maximum Likelihood Estimation and Loss Functions 13 minutes
  3. Statistical Inference and Confidence Intervals 14 minutes
  4. Hypothesis Testing and Model Comparison 14 minutes
Short quiz: Optimization and Statistical Inference — Mathematics and Statistics for AI6 questions · instant grading

Final quiz: Mathematics and Statistics for AI

15 questions from all the levels of the track · passing score 70% · passing it unlocks the exam certificate.

Start the final exam