Math for AI Made Simple: The Linear-Algebra Lego Set Behind Every Model
Scalars, vectors, matrices and tensors, the five operations every neural network is made of, and the shape rules that cause most of the bugs.
AI Foundations01
Series · 10 parts · 2,023–2,024
A run through the classical ground: linear algebra, search, adversarial search, constraint satisfaction, logic, and planning. Written for someone starting from nothing.
Scalars, vectors, matrices and tensors, the five operations every neural network is made of, and the shape rules that cause most of the bugs.
AI Foundations01
What a deep-learning framework actually does for you, how a decision tree picks its questions, and which of the three to reach for on real data.
AI Foundations02
What an agent actually is, how to turn a problem into a search problem, and why changing one line of priority code turns breadth-first search into A*.
AI Foundations03
Hill climbing, simulated annealing, belief states and online search: what to do when A* is the wrong tool, the world hides half of itself, or there is no map yet.
AI Foundations04
Minimax, alpha-beta pruning, expectiminimax and MCTS: how a program plans when something is planning against it, and what neural evaluation changed.
AI Foundations05
Arc consistency, backtracking with MRV and min-conflicts, explained through Sudoku and map colouring, plus what you would actually use today.
AI Foundations06
Knowledge bases, entailment, resolution and SAT solving, learned by staying alive in the Wumpus World, with runnable PySAT code.
AI Foundations07
Quantifiers, unification, forward and backward chaining, and resolution, from Socrates to a solver that finds the proof for you.
AI Foundations08
How STRIPS turns a to-do list into an algorithm: factored states, progression and regression, delete relaxation, planning graphs, and modern planners.
AI Foundations09
PDDL, heuristics that sometimes do nothing, HTN, temporal and multi-agent planning, with real planner numbers on Towers of Hanoi.
AI Foundations10