A Machine Learning project to classify iris flowers into three species using Logistic Regression with 91% accuracy.
This project focuses on classifying iris flowers into the following three categories:
-
Setosa (Class
0
) -
Versicolor (Class
1
) -
Virginica (Class
2
)
The classification is based on four numerical features:
-
🌿 Sepal Length
-
🌿 Sepal Width
-
🌸 Petal Length
-
🌸 Petal Width
-
✅ User-friendly GUI using Tkinter
-
✅ Input-based live predictions
-
✅ Visual representation of confusion matrix and ROC curve
-
✅ Tested on a new dataset for generalization
-
✅ 91% model accuracy with Logistic Regression
-
Source: Iris Dataset on Kaggle
-
Samples: 150
-
Classes: 3 (Setosa, Versicolor, Virginica)
-
Features: 4 (sepal and petal dimensions)
-
Model: Logistic Regression
-
Accuracy:
91%
Predicted: Setosa | Predicted: Versicolor | Predicted: Virginica | |
---|---|---|---|
Actual: Setosa | 19 | 0 | 0 |
Actual: Versicolor | 0 | 9 | 4 |
Actual: Virginica | 0 | 0 | 13 |
-
AUC ROC Score
-
Classification Report
-
Predictions on unseen/test data
Muqadas Ejaz
BS Computer Science (AI Specialization)
Machine Learning & Computer Vision Enthusiast
📫 Connect with me on LinkedIn
🌐 GitHub: github.com/muqadasejaz