1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Predict Categories in Python using Scikit-learn's Logistic Regression module

    scikit-learnScikit-Learn

    Despite its often confusing name, logistic regression is a linear model that is used for classification, or estimating discrete values.

    We'll use an inbuilt scikit-learn dataset of iris data to classify irises into three categories. We'll also look at metrics and tools to evaluate our classification models, including the accuracy score, classification report, and confusion matrix.