What is Logistic regression?
Logistic regression is a statistical method that predicts the probability of one of two outcomes, such as “buys” or “does not buy”. It weights the input features and converts their sum into a value between 0 and 1 using an S-shaped function. Because the weights are easy to interpret, it is widely used in credit scoring, medicine and marketing, often as a solid baseline for more complex models.