Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🌸 Iris Flower Classification using Machine Learning

📌 Project Overview

This project implements a Machine Learning model using the Random Forest Classifier to classify iris flowers into different species based on their physical characteristics. The model is trained on the famous Iris dataset available in Scikit-learn and demonstrates the fundamentals of supervised machine learning and classification.


🎯 Objective

To predict the species of an iris flower using the following features:

  • Sepal Length
  • Sepal Width
  • Petal Length
  • Petal Width

The model classifies flowers into:

  • Iris Setosa
  • Iris Versicolor
  • Iris Virginica

🛠️ Technologies Used

  • Python
  • Pandas
  • NumPy
  • Scikit-learn
  • Matplotlib

📊 Machine Learning Workflow

  1. Data Loading
  2. Data Exploration and Analysis
  3. Data Preprocessing
  4. Train-Test Split
  5. Model Training using Random Forest Classifier
  6. Prediction
  7. Model Evaluation
  8. Feature Importance Analysis

📈 Model Performance

  • Achieved approximately 95% accuracy on the test dataset.
  • Successfully classified all three iris flower species.
  • Demonstrated the effectiveness of Random Forest for multiclass classification.

✨ Key Features

  • Automated flower species classification
  • Random Forest-based prediction model
  • Feature importance visualization
  • Clean and beginner-friendly implementation
  • High classification accuracy

📂 Project Structure

Iris-Flower-Classification/
│
├── iris_classification.py
├── requirements.txt
├── README.md

⚡ Installation & Setup

Clone the Repository

git clone https://github.com/yourusername/Iris-Flower-Classification.git
cd Iris-Flower-Classification

Install Dependencies

pip install -r requirements.txt

Run the Project

python iris_classification.py

🎓 Learning Outcomes

Through this project, I gained practical experience in:

  • Supervised Machine Learning
  • Classification Algorithms
  • Random Forest Models
  • Data Visualization
  • Model Evaluation
  • Feature Importance Analysis
  • Python for Data Science

🚀 Future Enhancements

  • Hyperparameter Tuning
  • Cross-Validation
  • Streamlit Web Application
  • Deployment on Cloud Platforms
  • Comparison with Multiple Classification Algorithms

👩‍💻 Author

Kavya Raghuvanshi
BCA (Artificial Intelligence & Machine Learning)
Aspiring AI Engineer | Data Analyst | Python Developer


⭐ If you found this project useful, consider giving it a Star on GitHub.

About

Machine Learning project using Random Forest to classify Iris flower species with 95% accuracy.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages