Terence Parr personal blog
The Matrix Calculus You Need for Deep Learning
Most of us last saw calculus in school, but derivatives are a critical part of machine learning, particularly deep neural networks, which are trained by optimizing a loss function. This article is an attempt to explain all the matrix calculus you need in order to understand the training of deep neural networks. We…
- Points
- 610
- HN comments
- 167
- Submissions
- 4
- Cited by
- 5 commenters
AI & Machine LearningMath & Algorithms2018
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jun 29, 2018 | The Matrix Calculus You Need for Deep Learning by lxm | 610 | 77 |
| Nov 29, 2019 | Matrix Calculus for Deep Learning by yarapavan | 296 | 47 |
| Jul 30, 2023 | The matrix calculus you need for deep learning (2018) by mbustamanter | 224 | 40 |
| Mar 29, 2025 | The Matrix Calculus You Need for Deep Learning by Anon84 | 67 | 3 |
Cited in comments
Linked from 5 Hacker News comments by 5 different people, from Jan 2020 to Jan 2026.
Most recent:
- chandureddyvari · Jan 4, 2026
- FilosofumRex · Mar 30, 2025
- spearman · Aug 31, 2024
- jstx1 · Oct 12, 2021
- jph00 · Jan 20, 2020