This document discusses logistic regression for classification problems. Logistic regression models the probability of an output belonging to a particular class using a logistic function. The model parameters are estimated by minimizing a cost function using gradient descent or other advanced optimization algorithms. Logistic regression can be extended to multi-class classification problems using a one-vs-all approach that trains a separate binary classifier for each class.