This document introduces logistic regression, outlines its constraints, and discusses optimization methods like Cholesky decomposition and quasi-Newton methods. It elaborates on the mathematical formulation of logistic regression, including the two-class and multi-class cases, and describes the use of maximum likelihood estimation. The final sections summarize the mathematical models and provide insights into the classification processes.