5,321
edits
Line 23: | Line 23: | ||
;Notes | ;Notes | ||
* If our model is <math>g(\theta^Tx^{(i)})</math> where <math>g(x)</math> is the sigmoid function <math>\frac{e^x}{1+e^x}</math> then this is convex | * If our model is <math>g(\theta^Tx^{(i)})</math> where <math>g(x)</math> is the sigmoid function <math>\frac{e^x}{1+e^x}</math> then this is convex | ||
{{hidden | Proof | | |||
<!--{{hidden | Proof | | |||
We show that the Hessian is positive semi definite.<br> | We show that the Hessian is positive semi definite.<br> | ||
<math> | <math> | ||
Line 38: | Line 39: | ||
which is a PSD matrix | which is a PSD matrix | ||
}} | }} | ||
--> | |||
===Hinge Loss=== | ===Hinge Loss=== |