The intuition behind logistic regression starts exactly where linear regression stops—solving the problem of estimated values outside the natural domain of our response variable. It start from the typical problem of having a response variable that can pertain to two alternative categories, either zero or one, and the need for some record to one of those categories based on a set of explanatory variables.