Grokking Deep Learning
Synopsis
Andrew Trask teaches deep learning by having readers write it themselves. Using only Python and NumPy, the book starts with a single artificial neuron making a prediction, then adds error measurement, gradient descent and backpropagation, explaining each line of code and keeping the mathematics at roughly high-school level. Once the fundamentals are in place, readers extend their networks with regularization, batching and activation functions, then apply them to image classification with convolutional layers, word embeddings for language tasks, and recurrent networks and LSTMs that generate Shakespeare-style text.
Late in the book, Trask has readers assemble a small deep learning framework with automatic differentiation, which demystifies what libraries such as PyTorch do behind the scenes. A closing chapter introduces federated learning and privacy-preserving training, reflecting the author's research focus. The illustrated, conversational Manning format suits programmers who learn best by building. Readers finish with intuition for how networks learn and a foundation for moving to production frameworks. They will need other resources for transformers, modern architectures and current tooling, which the 2019 book does not cover, and reader reviews are mixed on the clarity of some explanations.
Scorecard
Editorial score
How it scored
Editorial score: 66.0 / 1005 weighted criteria
- 19.5/30
Influence30%
- 17.5/25
Authority25%
- 14.0/20
Practical value20%
- 7.5/15
Currency15%
- 7.5/10
Readability10%
- 66.0/100
Editorial score
How the rank was computed
Rank No. 452 of 500 comes from a composite of 48.4: observable signals 18.6 of 55 points plus editorial review 29.8 of 45 points.
All 11 inputs
| Input | Points |
|---|---|
| Observable signals | 18.6/55 |
| Reach (Amazon ratings volume) | 8.2/16.5 |
| Consensus across best-of lists | 5.5/13.8 |
| Awards and bestseller evidence | 0.0/8.3 |
| Reader rating, sample-adjusted | 4.3/8.3 |
| Amazon sales rank | 0.6/5.5 |
| Recency | 0.0/2.8 |
| Editorial review | 29.8/45 |
| Author authority | 7.9/11.3 |
| Influence | 8.8/13.5 |
| Practical value | 6.3/9.0 |
| Readability | 3.4/4.5 |
| Currency | 3.4/6.8 |
Each criterion is scored from 1 to 10 and weighted, and the points add up to the editorial score. The rank combines observable signals (55 percent) with this score (45 percent). Read the methodology.
Verdict
A hands-on, framework-free introduction that builds neural networks from scratch in NumPy so readers understand every moving part.
Strengths
- Builds every component from scratch
- Requires only high-school math and Python
- Companion notebooks freely available on GitHub
Keep in mind
Written in 2019, it predates transformers and current frameworks, and readers report uneven clarity, so it works best as a first step rather than a complete course.
Key takeaways
- A neural network learns by measuring its prediction error and nudging each weight in the direction that reduces it, which is the essence of gradient descent.
- Backpropagation assigns each layer its share of responsibility for the final error, which makes networks with many layers trainable.
- Building a minimal framework with automatic differentiation reveals what PyTorch and TensorFlow automate, making those tools easier to use and debug.
- Federated learning lets models train on data that stays on users' devices, an early introduction to privacy-preserving machine learning.
Notable facts
- Manning lists translations of Grokking Deep Learning into Complex Chinese, German, Japanese, Polish, Russian and Simplified Chinese. Source (opens in a new tab)
- The book's companion GitHub repository of notebooks has about 7,700 stars. Source (opens in a new tab)
About the author
Questions
What is Grokking Deep Learning about?
Is Grokking Deep Learning worth reading in 2026?
Who should read Grokking Deep Learning?
Related books
Sources
As an Amazon Associate, Best AI Books earns from qualifying purchases. Best AI Books is sponsored by Iternal.ai, whose founder and CEO, John Byron Hanby IV, wrote The AI Strategy Blueprint, our #1 ranked book. How we rank books.






