An end-to-end Machine Learning classification project developed as part of the CodeAlpha Data Science Internship.
The Iris Flower Species Classification project demonstrates the complete Machine Learning workflow using the famous Iris dataset.
The objective is to build a classification model capable of predicting the species of an Iris flower based on its physical measurements.
This project covers every important stage of a Data Science project, from data exploration to model evaluation.
- Understand the Iris dataset
- Perform Exploratory Data Analysis (EDA)
- Build a Machine Learning classification model
- Train and evaluate the model
- Predict flower species
- Visualize important insights
The dataset contains measurements of Iris flowers.
- Sepal Length
- Sepal Width
- Petal Length
- Petal Width
- Iris-setosa
- Iris-versicolor
- Iris-virginica
- Python
- Pandas
- NumPy
- Matplotlib
- Seaborn
- Scikit-learn
- Jupyter Notebook / Kaggle Notebook
Import Libraries
│
▼
Load Dataset
│
▼
Data Exploration
│
▼
Exploratory Data Analysis
│
▼
Feature Selection
│
▼
Train-Test Split
│
▼
Decision Tree Classifier
│
▼
Model Training
│
▼
Prediction
│
▼
Model Evaluation
│
▼
Conclusion
The following analyses were performed:
- Dataset Overview
- Statistical Summary
- Missing Value Analysis
- Duplicate Value Check
- Class Distribution
- Pair Plot
- Correlation Heatmap
- Box Plot
- Histograms
- Violin Plot
- Scatter Plot
Algorithm Used
- Decision Tree Classifier
The model was evaluated using:
- Accuracy Score
- Confusion Matrix
- Classification Report
- Feature Importance
- Decision Tree Visualization
CodeAlpha_Iris_Flower_Classification/
│
├── Iris_Flower_Classification.ipynb
├── Iris.csv
├── README.md
└── images/
git clone https://github.com/YourUsername/CodeAlpha_Iris_Flower_Classification.gitcd CodeAlpha_Iris_Flower_Classificationpip install -r requirements.txtRun the notebook using:
- Jupyter Notebook
- Kaggle Notebook
- Google Colab
Through this project, I learned:
- Data preprocessing
- Exploratory Data Analysis
- Decision Tree Classification
- Model Evaluation
- Feature Importance Analysis
- Machine Learning Workflow
- Data Visualization
Aleesha Nadeem
If you found this project helpful, consider giving this repository a ⭐.
Thank you for visiting!