2

I am reading Pattern Recognition and Machine Learning by Bishop and equation 6.2 for gradient of regularized least squares is

$$J(w) = \frac{1}{2}\sum^{N}_{n=1}\{\mathbf{w^T}\phi(\mathbf{x_{n}})-t_{n}\}^2+\frac{\lambda}{2}\mathbf{w^Tw}$$

then in the next step it says taking the gradient with respect to w leads to:

$$w = -\frac{1}{\lambda}\sum_{n=1}^{N}\{\mathbf{w^T}\phi(\mathbf{x_{n}})\}\phi(\mathbf{x_{n}})$$

but I don't understand where the $-\frac{1}{\lambda}$ is coming from?

wouldn't the differential be:

$$\lambda\mathbf{w} + \sum_{n=1}^{N}\{\mathbf{w^T}\phi(\mathbf{x_{n}})\}\phi(\mathbf{x_{n}})$$

0 Answers0