What is the gradient of $f (H) = \| A − W H \|_{\text{F}}^2$?
Asked
Active
Viewed 1,501 times
1 Answers
0
Let $\phi(H) = \operatorname{tr} ((A-WH)^T (A-WH))$, then by taking the linear term in $\Delta$ in the expression $\phi(H+\Delta)-\phi(H)$ we see that $D \phi(H)(\Delta) = -2 \operatorname{tr} ((A-WH)^T W\Delta)$ and so the 'matrix' format is $-2W^T(A-WH)$.
copper.hat
- 178,207