Jupyter notebooks that draw the math behind deep learning
A graphical, code-heavy companion to Chapter 2 of the Deep Learning Book for beginners who need more intuition than notation.

What it does
This repository is a set of Jupyter Notebooks that unpack Chapter 2 of the Deep Learning Book by Goodfellow, Bengio, and Courville. Each notebook pairs the chapter’s mathematical concepts with Python/Numpy code and custom plots, translating abstract linear algebra into runnable, visual examples. It functions as a guided companion for readers who find the original text too terse.
The interesting bit
Instead of treating matrices as inert spreadsheets, the author frames them as spatial transformations and uses plots to show how operations like the dot product or eigendecomposition deform space. The project is essentially a pedagogical layer on top of existing material, not a new library or framework.
Key highlights
- Covers the full Chapter 2 syllabus, from scalars and tensors through
PCA. - Heavy emphasis on graphical intuition: plots for norms, linear dependence, eigendecomposition, and
SVD. - Every concept is mirrored with
Numpy/Scipy/Matplotlibcode you can experiment with. - Includes a bonus
SVDimage-processing demo featuring “Lucy the goose.” - Explicitly aimed at beginners who need intermediate steps the textbook skips.
Caveats
- Only covers Chapter 2; the rest of the Deep Learning Book is untouched.
- Content reflects the author’s personal understanding, so it is a companion, not an official replacement or errata.
Verdict
Worth bookmarking if you are a beginner or advanced beginner struggling to visualize the linear algebra that underpins deep learning. Skip it if you already read math notation fluently or need tools rather than tutorials.
Frequently asked
- What is hadrienj/deepLearningBook-Notes?
- A graphical, code-heavy companion to Chapter 2 of the Deep Learning Book for beginners who need more intuition than notation.
- Is deepLearningBook-Notes open source?
- Yes — hadrienj/deepLearningBook-Notes is open source, released under the MIT license.
- What language is deepLearningBook-Notes written in?
- hadrienj/deepLearningBook-Notes is primarily written in Jupyter Notebook.
- How popular is deepLearningBook-Notes?
- hadrienj/deepLearningBook-Notes has 1.8k stars on GitHub.
- Where can I find deepLearningBook-Notes?
- hadrienj/deepLearningBook-Notes is on GitHub at https://github.com/hadrienj/deepLearningBook-Notes.