Logistic regression is a classification algorithm used to predict binary outcomes. It transforms predictor variable values using the sigmoid function to produce a probability value between 0 and 1. The log odds of the outcome are modeled as a linear combination of the predictor variables. Positive coefficient values increase the probability of the outcome while negative values decrease the probability. Logistic regression outputs probabilities that can be converted into binary class predictions.