Machine Learning: Difference between revisions

No edit summary
Line 18: Line 18:
&= 2\sum(w^tx^{(i)} - y^(i))x \\
&= 2\sum(w^tx^{(i)} - y^(i))x \\
\implies \nabla_{w}^2 J(w) &= \nabla 2\sum(w^Tx^{(i)}-y^{(i)})x^{(i)}\\
\implies \nabla_{w}^2 J(w) &= \nabla 2\sum(w^Tx^{(i)}-y^{(i)})x^{(i)}\\
&= 2\sumx^{(i)}x^{(i)}^T
&= 2\sum x^{(i)}x^{(i)}^T
\end{aligned}
\end{aligned}
so the hessian is positive semi-definite
so the hessian is positive semi-definite
</math>
</math>
}}
}}


===Cross Entropy===
===Cross Entropy===