Skip to content
Skillpedia
Machine learning29k Β· #9553

deep-learning-book

What it does

This skill is a companion guide to the Deep Learning book, pointing you to the right chapter and explaining what still applies today. It is for students and practitioners who want to read the book and apply its ideas.

When to use it

  • βœ“When you want to find the chapter that covers a deep learning topic.
  • βœ“When you want to know whether an idea from the 2016 book still holds in 2026.
  • βœ“When you want a reading plan or help diagnosing a model that will not train.

Skill link

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/deep-learning-book/skills/deep-learning-book/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/deep-learning-book/skills/deep-learning-book/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œWhere should I start in the Deep Learning book if I want to understand regularization?”

5 new skills a week. 1 minute to read.

How it works

The agent finds the right chapter for your topic through an index, then adds notes on what has changed since 2016. It can also plan a reading path and help diagnose training problems. It links you to the official chapters to read the book itself.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Deep Learning β€” Study Companion

Source book: Deep Learning, Ian Goodfellow, Yoshua Bengio & Aaron Courville (MIT Press, 2016) Β· 20 chapters, 3 parts Β· read free at deeplearningbook.org Β· companion compiled 2026-08-25.

This is a companion, not a copy. The book is copyrighted, and its site states that the HTML-only format exists to discourage copying under the authors' MIT Press contract. Nothing here reproduces its text. Every chapter file is original synthesis β€” what the chapter establishes, how to use it, where it has aged β€” plus a link to the official chapter. Read the book at the link; use this to navigate it, keep it current, and turn it into decisions. See references/rights_and_use.md.

How to Use This Skill

  • No argument β€” load the core frameworks below.
  • A topic β€” ask about regularization, saddle points, partition function; resolved through the Topic Index, then that chapter file is read before answering.
  • chNN β€” load that chapter's file.
  • "is this still true?" β€” the 2016β†’2026 delta layer, in every chapter file and in references/book_to_2026_delta.md.
  • "where do I start?" β€” run scripts/reading_path_planner.py.

When asked about something outside these 20 chapters, say so and route to the delta reference rather than improvising the book's position on material published after it.


Core Frameworks & Mental Models

The (T, P, E) frame β€” ch05

Name the task, the performance measure, and the experience in one sentence before any model code. Most failed projects failed at P: an unstated metric, or a proxy whose relationship to the real objective was never checked.

Every loss is a negative log-likelihood β€” ch03, ch06

Choose the output distribution, then take its negative log. Gaussian β†’ MSE, Bernoulli β†’ binary cross-entropy, categorical β†’ cross-entropy, Laplace β†’ MAE. "Which loss?" is always the question "which distribution?" in disguise. Modern contrastive and preference objectives sit outside this frame β€” a real limit of the book, not a gap in your understanding.

KL asymmetry decides your failure mode β€” ch03, ch19, ch20

D(pβ€–q) β‰  D(qβ€–p). Forward KL is mode-covering (blurry averages); reverse KL is mode-seeking (sharp but partial). This single fact predicts VAE blur, GAN mode collapse, and the characteristic over-confidence of mean-field variational posteriors.

Train-error-first triage β€” ch11, ch05

High training error β†’ capacity or optimization is the bottleneck; more data will not help. Low training error with a large validation gap β†’ data or regularization. This is the highest-value heuristic in the book. scripts/training_diagnostics.py runs it.

Capacity, the gap, and the U-curve's caveat β€” ch05, ch07

Regularization trades variance for bias. But the classical U-shaped capacity curve is incomplete: past the interpolation threshold, test error can fall again (double descent, 2019–2020, post-dating the book). Practical consequence: when a large model overfits, try more data, more regularization or longer training before shrinking it.

Architecture is a prior, not a trick β€” ch09, ch10, ch15

Convolution asserts translation equivariance and locality. Recurrence asserts that the past compresses into a state. A distributed representation asserts that factors combine combinatorially. When the assertion is false, the architecture cannot be rescued by tuning β€” and when it is true, it beats capacity. This is also why Vision Transformers need more data than ConvNets: they discard the prior and buy it back with examples.

Depth's real cost is gradient flow and activation memory β€” ch06, ch08, ch10

Backprop is the chain rule scheduled well: one forward-pass-equivalent of compute, and memory proportional to stored activations. Depth fails through vanishing/exploding gradients and ill-conditioning, which is why residual connections, normalization and clipping exist.

The partition function organizes Part III β€” ch16, ch17, ch18, ch19

For undirected models, the likelihood gradient needs samples from the model itself. Four escape routes: sample it (CD/PCD), sidestep it algebraically (pseudolikelihood, score matching), learn around it (NCE), or estimate it for evaluation (AIS). Score matching's descendants are today's diffusion models β€” which is why Part III repays reading even though its models did not

FAQ

Does this skill copy the book's text?

No. It gives original notes and links to the official chapters, and it does not reproduce the book.

Which chapters does it cover?

All 20 chapters across the book's three parts.

Does it help when training goes wrong?

Yes. A diagnostics tool helps check common training failures.

Details

Original description by the author

Use when studying or applying Goodfellow, Bengio and Courville's Deep Learning, or asking if its advice still holds. Indexes all 20 chapters with a 2016-to-2026 delta, plans reading paths with reading_path_planner.py and diagnoses training failures with training_diagnostics.py.

repo: alirezarezvani/claude-skills

Popularity

GitHub stars
29k
Ranking position
#9553
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills