VFlash: Fast, Accurate Visual Planning via Flash Primitive Decoding
u_Unrolled
D2: Math, Stats & Optimization
Phase 1: Programming & CS Foundations/DOMAIN 2

Domain 2: Mathematics, Statistics & Optimization

FoundationalUnrolled Pro

The maths behind ML, from reading notation to linear algebra, SVD and PCA, calculus and Jacobians, probability, optimization and information theory.

Estimated study time: about 90 hours
Access: Unrolled Pro
Unrolled Pro Domain

Unlock all 12 lessons with Unrolled Pro

Full production code, quantitative capacity math, failure recovery playbooks, and interview coaching.

Get Pro from ₹167/mo (~$2/mo)14-day refund guarantee

Lessons

12 lessons
01

Reading Maths Notation — Functions, Sets, Sums, Products and argmax

FREE 15m

ML maths is mostly a handful of symbols used over and over: functions mapping one space to another, sets and membership, sums and products over indices, and argmax/argmin to pick the best option.

✓ Runnable code✓ Exercise with solutionStart Lesson
02

Linear Algebra — The Language of Embeddings and Attention

FREE 20m

Every modern AI model is, underneath, a long chain of vector and matrix operations.

✓ Runnable code✓ Exercise with solutionStart Lesson
03

Linear Systems, Rank, Inverses and Eigenvectors

FREE 15m

Three questions recur across ML: *can this system be solved, and is the answer unique?* (rank and inverses: least squares, redundant features), *what does this matrix do when applied again and again?

✓ Runnable code✓ Exercise with solutionStart Lesson
04

SVD and PCA — Every Matrix Is a Rotation, a Stretch and a Rotation

Pro 15m

The singular value decomposition factors any matrix into rotations and a stretch, and sorts its "directions of action" by importance.

✓ Runnable code✓ Exercise with solutionStart Lesson
05

Calculus — How a Model Knows Which Way to Improve

FREE 15m

Atlas's lesson-ranking formula has weights. Some rankings get good feedback, some bad. We need a precise answer to: *"if I nudge this weight up a little, does the error go up or down, and by how much?

✓ Runnable code✓ Exercise with solutionStart Lesson
06

Jacobians, Matrix Calculus and Taylor Series — Gradients of Whole Layers and Local Approximations

Pro 15m

Backpropagation is the chain rule applied to functions whose inputs and outputs are vectors, so each step multiplies by a Jacobian matrix.

✓ Runnable code✓ Exercise with solutionStart Lesson
07

Probability & Statistics — Reasoning When You're Not Sure

FREE 15m

An LLM never "knows" the next word — it outputs a probability distribution over every possible next token and samples from it.

✓ Runnable code✓ Exercise with solutionStart Lesson
08

Joint Distributions, the Gaussian, Sampling and the Central Limit Theorem

Pro 15m

Real data has many variables at once, so we need joint distributions: how variables vary together (covariance, correlation), what one tells us about another (conditionals), and when they're unrelated (independence).

✓ Runnable code✓ Exercise with solutionStart Lesson
09

Optimization — Turning Gradients Into Learning

FREE 15m

Gradients only say *which way* is downhill at this exact spot. How big a step to take, how to use the last few steps, and when to slow down decide whether training takes an hour, takes a week, or never works.

✓ Runnable code✓ Exercise with solutionStart Lesson
10

Convexity and Lagrange Multipliers — When Local Means Global, and Optimizing Under Constraints

Pro 15m

Convexity is the property that makes optimization trustworthy: for a convex function every local minimum is the global minimum, so linear and logistic regression, SVMs and many classical models have guaranteed solutions.

✓ Runnable code✓ Exercise with solutionStart Lesson
11

Information Theory — Measuring Surprise, the Loss Every LLM Minimizes

FREE 15m

"Cross-entropy loss", "perplexity", "KL penalty", "bits per byte" — these words appear in every LLM paper and training dashboard. They're all one idea: how surprised is a model by what actually happens?

✓ Runnable code✓ Exercise with solutionStart Lesson
12

Bridge: From Formulas We Tune to Models That Learn

Pro 10m

Atlas can represent meaning as vectors and minimize a loss — but every formula so far was designed by us.

✓ Runnable codeStart Lesson
Domain 2: Math, Stats & Optimization · Unrolled