Logistic Regression, Stochastic Gradient, Regularization.
we modify is w. If we just simply set all w’s to a very high value say 10000 or a value approaching -∞ or +∞ then z will be a very high value resulting in e^-z being a very small number close to 0 and getting us to log(1). Lets take an example using a simple single variable problem where we have a