Frontier Research Engineering

ML Foundations from Scratch

Socratic Tutor

Shapes, gradients, losses and optimizers — the math you actually use, with NumPy exercises.

Shapes & NumPy

What a Layer Computes
12 min

Gradients

Backprop Through a Linear Layer
15 min

Losses

Softmax, Cross-Entropy and Stable Log-Sum-Exp
14 min

Optimization

Gradient Descent, Mini-Batches and Learning Rate
12 min
StackSweep | Engineering practice