4 ms·
The Matrix Calculus You Need For Deep Learning https://arxiv.org/abs/1802.01528 https://arxiv.org/abs/1802.01528 From the intro: >This article walks through
by woolion 2y ago
The Matrix Calculus You Need For Deep Learning
https://arxiv.org/abs/1802.01528 https://arxiv.org/abs/1802.01528
From the intro:
>This article walks through the derivation of some important rules for computing partial derivatives with respect to vectors, particularly those useful for training neural networks. This field is known as matrix calculus, and the good news is, we only need a small subset of that field, which we introduce here. While there is a lot of online material on multivariate calculus and linear algebra, they are typically taught as two separate undergraduate courses so most material treats them in isolation. The pages that do discuss matrix calculus often are really just lists of rules with minimal explanation or are just pieces of the story.
>In contrast, we're going to rederive and rediscover some key matrix calculus rules in an effort to explain them.