What do you understand by logistic regression? Explain it with an example.
Logistic regression which is also known as the logit model is a technique that predicts binary outcomes from the linear combinations of predictor variables.
Example: Let’s suppose we want to predict the results of elections for a political leader. We will assume whether he is going to win or not. Therefore, the outcome is binary i.e. win (1) or loss (0). But the input will be a combination of various linear variables like money spent on advertisement, their past work history, etc.
BY Best Interview Question ON 02 Nov 2022