Logistic Regression
logistic regression here the predicted outputs are binary, either a 0 or a 1, therefore the challenge is finding an equation that can translate the input features to either of the choices. To do this, they use the sigmoid function,viz: f(x)=11+e−z f(x)= \frac{1}{1+e^{-z}} where z is w⃗.x⃗+b\vec{w}.\vec{x} + b . This means if z is high or simply +ve, e−ze^{-z} is very small and f(x) approaches 1 - thus, it is approximated as 1. And for the erverse, it is approximately 0. This way all the data is transformed. ...