Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 967 Bytes

File metadata and controls

10 lines (8 loc) · 967 Bytes

Classification of species of Iris-flower

I have classified the species of iris flowers from the famous Iris dataset (https://archive.ics.uci.edu/ml/datasets/iris). The dataset contains measurements for 150 iris flowers from the different species. There are four columns: Sepal Length, Sepal Width, Petal Length, and Petal Width in cm measurement scale. The fifth column represents the Species of the iris flower. I used the following popular machine learning (ML) models here:

  1. Logistic Regression,
  2. Support Vector Machine (SVM),
  3. Decision Tree, and
  4. K Nearest Neighbors (KNN).

Upon the evaluation, the SVM with the grid search and KNN are expected to be better in classifying the species of the iris data set with higher accuracy among the four ML algorithms used here.

It should be noted that we can also play and compare the performance of the ML models by changing (or including the other dropped) variables and/or by fitting with other ML models.