AI Foundations: From Math to Neural Networks

AI Foundations: From Math to Neural Networks

A first-principles mathematical breakdown of vanilla multi-layer neural networks. Covers feature vectors, dense layer transformations, loss functions, multivariable gradients, and backpropagation traces without external framework abstractions.

50 lessons
Module 1

The Forward Pass

Forward data flow in neural networks: feature vectors, dot products, baseline biases, activation functions, and multi-layer dense matrix layers.

01 • Vectors & Dot Products (Linear Algebra Part 1)

02 • The Artificial Neuron & Activations

03 • Matrices & Layer Width (Linear Algebra Part 2)

04 • Multi-Layer Neural Networks

Module 2

The Backward Pass

Backward pass mechanics in neural networks: loss functions, single-variable derivatives, multivariable gradient vectors, and chain rule backpropagation.

01 • Prediction Error & Loss Functions

02 • Derivatives and Sensitivity

03 • Partial Derivatives and Gradients

04 • The Chain Rule and Backpropagation

Module 3

Synthesis & Interpretability

Synthesis of the complete forward-backward computational graph, end-to-end mathematical compile traces, and mechanistic interpretability foundations.

01 • The Complete Neural Data Flow Graph

02 • Interpretability of Neural Networks