Teaching notebook builds a neural network from scratch with linear algebra and the chain rule

GeostatsGuy · x · 2026-07-23

A teaching notebook walks students through building a simple neural network from scratch using only linear algebra, derivatives, and the chain rule.

It then brings the model to life with an interactive Matplotlib dashboard so learners can watch how the network trains step by step. The notebook is shared on GitHub.

Original post →

More from Research

Research channel →