A 3D visualization of a logistic regression model showing two data classes separated by a curved decision boundary, with supporting diagrams of the sigmoid function and model equations.

A study of serious pitfalls in logistic regression

Logistic regression is a classification algorithm mostly used to predict a binary outcome based on independent variables. Put simply, we have explanatory factors whose values we use to determine whether the outcome of the event under consideration is more likely to be true or false.