Level 4 · Master In Progress¶
Goal: the mathematical foundations behind advanced and research-level ML — convex optimization guarantees, constrained optimization via Lagrange multipliers, information theory, logistic regression derived fully from scratch, kernel methods, a deep dive into SVD, Bayesian inference, the numerical optimization methods that power modern training (beyond plain SGD), the math behind transformer attention, and a capstone that implements linear regression from scratch in NumPy using everything from Levels 1–4.
Modules¶
- Convexity & Optimization
- Lagrange Multipliers & Constrained Optimization
- Information Theory Basics
- Logistic Regression Gradient from Scratch
- Kernel Methods & the Kernel Trick
- Singular Value Decomposition Deep Dive
- Bayesian Inference Foundations
- Numerical Optimization Methods
- Math Behind Transformer Attention
- Capstone — Linear Regression from Scratch in NumPy
By the end of this level you'll be able to prove why convex problems have no bad local minima, solve constrained optimization problems by hand, quantify information with entropy and KL divergence, derive logistic regression's gradient and Hessian from first principles, explain the kernel trick geometrically, decompose any matrix with SVD and interpret each factor, reason about ML as Bayesian updating, compare Newton's method to gradient descent, and derive the scaled dot-product attention formula that underlies transformers — all backed by NumPy-verified derivations.