- Logistic Regression

Logistic regression example using scikit-learn.

We'll cover the following...

Logistic regression is a supervised classification algorithm that is useful for predicting which users are likely to perform an action, such as purchasing a product. Using scikit-learn, the process is similar to fitting a linear regression model.

Example

The main differences from the prior script are the dataset being used, the model object instantiated (LogisticRegression), and the predict_proba function used to calculate error metrics. . This function predicts a ...

Access this course and 1400+ top-rated courses and projects.