Mathematical Rigor
Every concept grounded in formal theory. Proofs, derivations, and precise notation throughout.
A structured curriculum that teaches machine learning through mathematical foundations, visual intuition, and code-oriented thinking from calculus through modern models.
Every concept grounded in formal theory. Proofs, derivations, and precise notation throughout.
Abstract ideas rendered geometrically. Diagrams, animations, and spatial reasoning before algebra.
Algorithms expressed as executable logic. From pseudocode to working implementations.
Curriculum
A structured progression from mathematical foundations to modern generative models. Select any module to preview.
Preview
Machine learning is really just a giant game of "getting better through trial and error." During training, an AI model tries to find the best possible settings to make the fewest mistakes. Calculus is the math of continuous change, and it gives our models the exact instructions they need to improve.
While linear algebra helps us calculate how wrong our model's predictions are, calculus tells us exactly how to fix the model's internal settings to make fewer mistakes next time. Without calculus, AI would just be guessing randomly. With it, models can take smart, calculated steps to get better after every single example they see.
In high school calculus, you might have looked at simple curves with one variable, like . But modern AI models have millions or even billions of variables (we call them weights). Because of this, we need Multivariate Calculus.
Instead of finding a single slope, the AI calculates a Gradient—a mathematical arrow made up of many slopes that points in the direction where the error increases the fastest. By taking a step in the opposite direction (a process called Gradient Descent), models like neural networks slowly walk down the hill until they reach the bottom, where the error is lowest.
The explosion of modern AI is mostly thanks to a specific trick from calculus called the Chain Rule. In computer science, we call this backpropagation. It's a clever way to figure out exactly how much a single tiny weight deep inside a neural network contributed to a mistake made at the very end.
Key Equation
Continue when ready for intuition, math, code, and interactive diagrams.
Draw a dataset, configure a network architecture, and train it in-browser. Watch decision boundaries form in real time as loss converges.
Layers
2 hidden
Neurons
4 / layer
Activation
tanh