Neurons, gradients and backpropagation: calculus, linear algebra, probability and graphs, put together.
The artificial neuron as a dot product and a squash, the activation functions that make depth worth having, layers as matrix products, networks as directed acyclic graphs, and why a hidden layer can draw any curve.
How a network learns: a loss function scores its mistakes, gradient descent walks downhill on that score, the learning rate sets the stride, mini-batches make each step cheap, and momentum and Adam make the walk faster and steadier.
How a network finds the gradient of its loss: the chain rule on a computation graph, run backward through neurons and layers, why deep gradients vanish or explode, and how automatic differentiation does it all exactly.
Where the probabilities in machine learning come from: softmax, maximum likelihood, entropy and KL divergence, Bayes classifiers, and the bias–variance trade-off behind regularization.
Data as vectors: similarity and nearest neighbors, regression by the normal equations, PCA by eigenvectors, convolution by sliding dot products, and attention as a softmax-weighted average.
Where discrete math meets machine learning: graph neural networks pass messages one hop per layer, random walks settle into eigenvectors, decision trees split by information gain, and A* searches graphs with a heuristic.
Forward passes and backpropagation
Step size, divergence and momentum in gradient descent
Dot-product scores, softmax weights and temperature
A neuron as a classifier, and cross-entropy as its score
Turning logits into probabilities, and how cross-entropy pushes back
Training error, test error and model complexity
Alternating assignment and averaging to minimize squared distance
Projection, variance kept and variance lost