w is an (nx1) vector and X is an (nxn) matrix. Here's my work:
However this site (http://www.matrixcalculus.org/) says that the derivative should be
What am I doing wrong?
w is an (nx1) vector and X is an (nxn) matrix. Here's my work:
However this site (http://www.matrixcalculus.org/) says that the derivative should be
What am I doing wrong?
The solutions are actually the same, if you take my (the first one) solution and expand it out with a common denominator you will get the second solution.