Logistic regression

Logistic regression is a classification model that estimates the probability of belonging to a class by passing a linear combination of the features through the sigmoid function (softmax for several classes). Despite its name, it is used for classification. It is simple, fast, and interpretable.

Example

LogisticRegression().fit(X_train_s, y_train)

Related concepts

The whole glossary