Discovering binary logistic regression
In this section, we'll learn what binary logistic regression is and we'll understand the use cases that can be tackled with this ML algorithm.
Logistic regression is a classification ML technique that can be used to predict a categorical variable. We can apply binary logistic regression when the variable to predict is binary and can assume only two values, such as true or false, yes or no, or 1 or 0.
In order to predict one of the two labels, this ML algorithm calculates the probability of two different outcomes and allows us to choose a probability threshold to get the final classification of the binary variable.
Since this is an algorithm based on a regression technique, the prediction of the label is based on a set of independent variables called features that are used to predict the dependent variable, called a label.
This ML technique can be used to answer relevant business questions across different industries, such...