Why Is Logistic Regression Considered a Linear Model?
Explore why logistic regression is classified as a linear model by understanding linear combinations of features and the logit function, which transforms probabilities into log odds. This lesson explains how logistic regression relates to generalized linear models and provides a foundation for interpreting its mathematical structure.
Logistic regression as a linear model
We mentioned previously that logistic regression is considered a linear model, while we were exploring whether the relationship between features and response resembled a linear relationship. Recall that we plotted groupby/mean of the EDUCATION feature in the “Data Exploration” chapter, as well as for the PAY_1 feature in this chapter, to see whether the default rates across values of these features exhibited a linear trend. While this is a good way to get a quick approximation ...