MATH 120BeginnerMathematics
Mathematics for Machine Learning
Linear algebra, calculus and probability, worked through with code beside every idea.
132 lessons, not started
What you will learn
- Work with vectors, matrices and their decompositions
- Differentiate the functions models are built from
- Reason about uncertainty with probability and statistics
Syllabus
132 lessons in 13 sections. Take them in order, or open any lesson directly.
- Mathematics for Machine Learning
Chapter 1: Introduction and Motivation3 lessons
Chapter 4: Matrix Decompositions10 lessons
Chapter 5: Vector Calculus11 lessons
- Vector Calculus Overview
- Differentiation of Univariate Functions
- Partial Differentiation and Gradients
- Gradients of Vector-Valued Functions
- Gradients of Matrices
- Useful Identities for Computing Gradients
- Backpropagation and Automatic Differentiation
- Higher-Order Derivatives
- Linearization and Multivariate Taylor Series
- Chapter 5 Exercises and Solutions
- Chapter 5 Formula Sheet
Chapter 6: Probability and Distributions10 lessons
- Probability and Distributions Overview
- Construction of a Probability Space
- Discrete and Continuous Probabilities
- Sum Rule, Product Rule, and Bayes Theorem
- Summary Statistics and Independence
- Gaussian Distribution
- Conjugacy and the Exponential Family
- Change of Variables and the Inverse Transform
- Chapter 6 Exercises and Solutions
- Chapter 6 Formula Sheet
Chapter 7: Continuous Optimization9 lessons
- Continuous Optimization Overview
- Optimization Using Gradient Descent
- Momentum and Stochastic Gradient Descent
- Constrained Optimization and Lagrange Multipliers
- Convex Sets and Convex Functions
- Linear and Quadratic Programming
- Legendre-Fenchel Transform and Convex Conjugate
- Chapter 7 Exercises and Solutions
- Chapter 7 Formula Sheet
- Recall Drill
Chapter 8: When Models Meet Data11 lessons
- When Models Meet Data Overview
- Data, Models, and Learning
- Empirical Risk Minimization
- Regularization and Cross-Validation
- Maximum Likelihood Estimation
- MAP Estimation and Model Fitting
- Probabilistic Modeling and Inference
- Directed Graphical Models
- Model Selection
- Chapter 8 Worked Problems
- Chapter 8 Formula Sheet
Chapter 9: Linear Regression12 lessons
- Linear Regression Overview
- Problem Formulation
- Maximum Likelihood Estimation for Linear Regression
- Overfitting in Linear Regression
- MAP Estimation and Regularization
- Bayesian Linear Regression
- The Parameter Posterior
- Posterior Predictions
- Computing the Marginal Likelihood
- Maximum Likelihood as Orthogonal Projection
- Chapter 9 Worked Problems
- Chapter 9 Formula Sheet
Chapter 10: Dimensionality Reduction with PCA11 lessons
- Dimensionality Reduction Overview
- Problem Setting
- The Maximum Variance Perspective
- The Projection Perspective
- Finding the Principal Subspace
- Eigenvector Computation and Low-Rank Approximations
- PCA in High Dimensions
- Key Steps of PCA in Practice
- The Latent Variable Perspective on PCA
- Chapter 10 Worked Problems
- Chapter 10 Formula Sheet
Chapter 11: Density Estimation with GMM11 lessons
Chapter 12: Classification with Support Vector Machines12 lessons