Classify Iris Species Using Python & Logistic Regression

randerson112358
4 min readJun 13, 2019

Logistic Regression Python Program

In this article I will show you how to write a simple logistic regression program to classify an iris species as either ( virginica, setosa, or versicolor) based off of the pedal length, pedal height, sepal length, and sepal height using a machine learning algorithm called Logistic Regression.

--

--