Skip to content

๐ŸŽฏ This project was developed during an interdepartmental competition focused on applied machine learning using datasets. Built within just one hour, it secured 1st place among 60+ participants.

License

Notifications You must be signed in to change notification settings

yashwanths814/Iris-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒธ Iris Flower Classification Model

This machine learning model predicts the species of an Iris flower based on four key features:

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

๐ŸŒฟ About the Iris Dataset

The Iris genus includes over 310 accepted species of flowering plants known for their vibrant and showy blooms. Each Iris flower typically has:

  • 3 sepals
  • 3 petals
  • 3 broad stigma branches (pollen-receptive)
  • Hidden anthers beneath the stigma branches

Among these, the dataset focuses on three major species:

Species Name Description
Iris-setosa Small petals, easily distinguishable
Iris-versicolor Medium-sized petals
Iris-virginica Largest petals among the three

iris-flowers

๐Ÿ“Š Features Used

Feature Description
Sepal Length Length of the flowerโ€™s outer part
Sepal Width Width of the flowerโ€™s outer part
Petal Length Length of the inner petal
Petal Width Width of the inner petal

๐Ÿง  Model Overview: Logistic Regression

This project uses Logistic Regression, a supervised learning algorithm commonly used for classification tasks. Although originally designed for binary classification, Logistic Regression can be extended to multiclass classification using techniques like one-vs-rest (OvR).

Why Logistic Regression?

  • Simple and effective for linearly separable data
  • Fast training and prediction
  • Provides probability estimates for each class

Model Workflow

  1. Data Preprocessing: Load and clean the Iris dataset
  2. Feature Scaling (optional): Normalize input features
  3. Model Training: Fit Logistic Regression on training data
  4. Prediction: Predict species based on input features
  5. Evaluation: Assess accuracy and performance metrics

๐Ÿ“ˆ Evaluation Metrics

Metric Value
Accuracy 0.9667
Model Type Multiclass Logistic Regression
Classes Predicted Iris-setosa, Iris-versicolor, Iris-virginica

The model achieved an impressive 96.67% accuracy, indicating strong performance on the Iris dataset.

๐Ÿš€ How to Run

  1. Clone the repository:
    git clone https://github.com/yashwanths814/Iris-Model.git
    cd Iris-Model
    

๐Ÿ“š References

About

๐ŸŽฏ This project was developed during an interdepartmental competition focused on applied machine learning using datasets. Built within just one hour, it secured 1st place among 60+ participants.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published