Now that we are becoming more comfortable with regressions, let's introduce another type of regression—the logistic regression. Up to this point, the regressions have had a numeric output value—like predicting a person's GPA or predicting the number of bikes sold. Logistic regressions use the same technique of fitting a group of independent features to a line, but they do not attempt to predict a number. Rather, a logistic regression attempts to predict a binary value (yes/no, true/false, tastes great/less filling) and then assigns a probability to that value.
Intro to logistic regression
Since you have already had an introduction to regressions, we can skip straight to the code and see one in action. Open up the regression project ...