2. What is logistic regression and how does it work?
Logistic regression is another statistical tool that machine learning has adopted. It's the method of choice for binary classification issues -problems with two class values. By estimating probability using its underlying logistic function, logistic regression evaluates the connection between the dependent variable and one or more independent variables.