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
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.
Applied Linear Algebra
Beginner · 51 minutes · 4 lessons
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
- Vectors and Data Representation 12 minutes
- Matrices and Matrix Multiplication 14 minutes
- Eigenvalues and Singular Value Decomposition 15 minutes
- Projections and Least Squares 10 minutes
Probability and Calculus
Intermediate · 53 minutes · 4 lessons
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
- Probability Basics and Bayes’ Theorem 14 minutes
- Random Variables and Distributions 13 minutes
- Derivatives and Gradients 14 minutes
- The Chain Rule and Automatic Differentiation 12 minutes
Optimization and Statistical Inference
Advanced · 55 minutes · 4 lessons
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
- Gradient Descent and the Learning Rate 14 minutes
- Maximum Likelihood Estimation and Loss Functions 13 minutes
- Statistical Inference and Confidence Intervals 14 minutes
- Hypothesis Testing and Model Comparison 14 minutes
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.
