Common Used in Machine Learning
There are two types of layout in the expression of matrix derivatives: denominator and numberator layout.
Here we always use the denominator layout.
- vector to vector
∂x⊤A∂x=A
- scaler to vector
∂xTx∂x=2x
These two conclusions are very popular in the derivative calculation of Machine Learning.
Reference
- 矩阵求导、几种重要的矩阵及常用的矩阵求导公式