Skip to content

mayargad/AI_Classification_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data Classification Using AI 🤖

Project 2 | DecodeLabs Industrial Training | Batch 2026 Developer: Mayar Yasser

Overview

A machine learning classification model built using the KNN algorithm to classify Iris flowers into 3 species based on their measurements.

Dataset

  • Name: Iris Dataset
  • Samples: 150 flowers
  • Classes: Setosa, Versicolor, Virginica
  • Features: Sepal Length, Sepal Width, Petal Length, Petal Width

Pipeline

  • Data Loading & Feature Scaling (StandardScaler)
  • Train-Test Split (80% Training / 20% Testing)
  • KNN Classification (n_neighbors=5)
  • Confusion Matrix & F1 Score

How to Run

pip install scikit-learn pandas matplotlib seaborn
python classifier.py

Results

  • Confusion Matrix saved as confusion_matrix.png
  • F1 Score: ~97%

Tools Used

  • Python
  • scikit-learn
  • matplotlib
  • seaborn

Screenshot

Output

Developer

Mayar Yasser | DecodeLabs Batch 2026

About

Iris flower classification using KNN algorithm & scikit-learn | DecodeLabs AI Internship Batch 2026

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages