Saturday, December 2, 2017

How to classify iris species using logistic regression

Despite its name, logistic regression can actually be used as a model for classification. In this post I will show you how to build a classification system in scikit-learn, and apply logistic regression to classify flower species from the famous Iris dataset.