We need to remember that, what is probability?.
- Example: flipping a coin one time. The probability of getting a head = 𝑝(ℎ𝑒𝑎𝑑)=1/2
Logistic regression is a supervised learning technique, which is basically a probabilistic classification model. It is mainly used in predicting a binary predictor, such as checking whether credit card transaction is fraudulent or not. Logistic regression uses logistics. A
logistic function is a very useful function that can take any value from a negative infinity to a positive infinity, and output values from 0 to 1 .