Skip to content

This project uses the Iris dataset to classify iris flowers into Setosa, Versicolor, or Virginica using the K-Nearest Neighbors (KNN) algorithm. It achieves high accuracy by analyzing sepal and petal dimensions.

Notifications You must be signed in to change notification settings

PHOX-9/Iris-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌸 Iris Flower Classification using KNN

This project uses the Iris dataset and a K-Nearest Neighbors (KNN) algorithm to classify iris flowers into three species: Setosa, Versicolor, and Virginica.

πŸ“˜ Overview

The Iris dataset is a classic dataset in machine learning and statistics, containing 150 samples with 4 features:

  • Sepal Length (cm)
  • Sepal Width (cm)
  • Petal Length (cm)
  • Petal Width (cm)

Using these features, the model predicts the species of an iris flower.

πŸš€ Model Used

  • Algorithm: K-Nearest Neighbors (KNN)
  • Library: Scikit-learn (sklearn)
  • Distance Metric: Euclidean distance
  • Best k-value: Selected using accuracy evaluation on validation data

About

This project uses the Iris dataset to classify iris flowers into Setosa, Versicolor, or Virginica using the K-Nearest Neighbors (KNN) algorithm. It achieves high accuracy by analyzing sepal and petal dimensions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published