Skip to content

A beginner-friendly data science project to classify iris flowers. This Project was created on Jupyter notebooks ultilizing Python

Notifications You must be signed in to change notification settings

kspeakable/iris-flower-classification-Python

Repository files navigation

Iris Flower Classification Project

Project Overview

This project is a beginner-friendly data science project that classifies iris flowers into their respective species (Setosa, Versicolor, or Virginica) based on their sepal and petal measurements.

Dataset

The project uses the famous Iris dataset, which contains 150 samples of iris flowers, each with four features:

  • Sepal length (cm)
  • Sepal width (cm)
  • Petal length (cm)
  • Petal width (cm)

Project Structure

  • Data exploration and visualization
  • Building a K-Nearest Neighbors (KNN) classification model
  • Model evaluation and visualization of results

Tools and Libraries

  • Python
  • Pandas for data manipulation
  • NumPy for numerical operations
  • Matplotlib and Seaborn for data visualization
  • Scikit-learn for machine learning

Results

The KNN model achieved 100% accuracy on the test set, demonstrating that the iris species can be accurately classified based on their sepal and petal measurements.

How to Run

  1. Install the required libraries:
  2. Open the Jupyter notebook:
  3. Run the cells in the notebook to reproduce the analysis.

Future Improvements

  • Try other classification algorithms and compare performance
  • Perform feature engineering to potentially improve the model
  • Collect more data to test the model's robustness

About

A beginner-friendly data science project to classify iris flowers. This Project was created on Jupyter notebooks ultilizing Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published