The Season Explained
What You Learn in Math for AI
Understand the math behind similarity search and model training well enough to reason about models, not just call them.
What the Season Covers
You read the notation of AI papers one symbol at a time, each next to its NumPy equivalent, and compute lengths, distances and matrix products. Dot products and cosine similarity show exactly how vector search decides that two texts mean the same thing.
The second half explains how models learn. Probability and statistics describe data and its uncertainty, derivatives and gradients say which way to move, gradient descent turns that into learning, and softmax and cross-entropy explain how a model scores its mistakes and picks its next token.
Why Employers Ask for It
Employers want people who can reason about models, not just call them. Interviews for AI and data roles test similarity, probability and how training works, and this math is what lets you explain a strange result instead of guessing.
What You Can Do at the End
- Read vector and matrix notation and compute with it in NumPy.
- Measure similarity with distance and cosine similarity, and choose the right one.
- Describe a dataset with the right statistics and spot a misleading sample.
- Explain gradients and gradient descent, and read a loss curve.
- Explain softmax and cross-entropy, and how an LLM picks its next token.
How the Season Builds
- 1
Data as Numbers
Vectors, matrices and the similarity measures behind vector search.
- 2
- 3
How Models Learn
Derivatives and gradients, gradient descent, then loss, softmax and cross-entropy.
What You Build
You represent products as vectors, find the closest leaflet paragraph to a question, check whether a lab method is precise, fit a calibration line by gradient descent and score next-word predictions.
Industry Example: Pharma
A calibration line from a lab instrument is fitted by gradient descent, the same method that trains large models. Any industry that fits a line to measurements uses the same math.
A Common Mix-Up
A 99% accurate test can be wrong most of the time when what it detects is rare. Base rates matter as much as accuracy.
Where It Leads
Season 6 builds classical machine learning models on this math, and Season 7 opens neural networks and transformers with it.







