Logistic regression is the foundational classification algorithm, predicting the probability that an observation belongs to the positive class by applying a sigmoid function to a linear combination of features. Despite its name, it is a classification method, not a regression method: it outputs probabilities between zero and one, and a threshold (typically 0.5) converts these to class predictions.
Its enduring relevance comes from a combination of interpretability, calibration, and reliability. Unlike complex models whose internals are opaque, logistic regression produces coefficients that can be interpreted as log-odds ratios — directly meaningful to domain experts in medicine, finance, and policy. Its probabilistic output is well-calibrated, meaning a predicted probability of 0.7 genuinely reflects a 70% chance of the positive class, a property many more complex models lack. Understanding logistic regression deeply — how it draws its decision boundary, what the coefficients mean, and when it fails — is the prerequisite for understanding all classification algorithms.