Logistic regression is a classification algorithm used to predict the probability of a binary outcome (e.g., spam vs. not spam).
Despite the name, it is used for classification, not regression.
A baseline model for detailed classification tasks.