dreddnafious/thereisnospoon
A machine learning primer built from first principles. For engineers who want to reason about ML systems the way they reason about software systems.
What it solves
The primer tackles the gap many experienced engineers face: they have a strong mental model for software design but lack the same instinct for machine learning. It builds that missing intuition by anchoring every ML concept in familiar physical and engineering analogies, so readers can reason about when to use which tool and why.
How it works
The primer is a single markdown file (ml-primer.md) organized in three parts. Part 1 covers fundamentals: the neuron, composition (depth and width as paper folding), learning as optimization, generalization, and representation. Part 2 covers architectures: combination rules (dense, convolution, attention, etc.), the transformer in depth, training frameworks (supervised, RL, GANs, diffusion), and matching topology to the problem. Part 3 treats gates as control systems, with primitives, soft logic, branching, and geometric tools.
Each concept is explained primarily through analogies—neurons as polarizing filters, gradient flow as pipeline valves, the chain rule as a gear train—with math as supporting detail. The primer also includes 12 figures in the main text and 13 more in a companion circuits primer, all generated from Python scripts. It can be read straight through or explored interactively with an AI agent for a deeper, conversational learning experience.
Who it’s for
This is for strong engineers who can whiteboard a software system but don’t yet have a gut for machine learning. It assumes you know the tools exist but want to feel when to reach for which. The approach is about developing design intuition and tradeoffs, not just memorizing definitions.
Highlights
- Primary explanations via physical and engineering analogies (neuron as polarizing filter, depth as paper folding, gradient flow as pipeline valves)
- Focus on when to use which tool and why, including tradeoffs and design decisions
- Three structured parts: fundamentals, architectures, and gating as control systems
- 12 figures in the main primer, 13 more in the companion, all regenerable from Python scripts
- Built through interactive stress-testing with an AI, resulting in a distilled mentorship style
- MIT licensed, contributions welcome
Related
- Project
- Project
- Project
- Project