Closed thomasjpfan closed 4 years ago
Without going into a derivation, one simple way to verifying that there is no negative is: -log(exp(z)+1)) is not convex.
-log(exp(z)+1))
log(exp(x)+1) is convex and the sum of convex functions are convex.
log(exp(x)+1)
Or look at the scikit-learn docs on logistic regression
Without going into a derivation, one simple way to verifying that there is no negative is:
-log(exp(z)+1))
is not convex.log(exp(x)+1)
is convex and the sum of convex functions are convex.