Skip to content

priyasingh1352/K-Nearest-Neighbor-IRISH-Classifier-ML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

KNN Iris Dataset Classification 🌸

This project demonstrates the implementation of the K-Nearest Neighbors (KNN) algorithm to classify flowers in the famous Iris dataset.

πŸ“Œ Project Overview

The goal of this project is to build a machine learning model that can accurately classify iris flowers into three species:

  • Setosa
  • Versicolor
  • Virginica

The model is trained using the KNN algorithm, which classifies data points based on the majority class among their nearest neighbors.

πŸ› οΈ Technologies Used

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

πŸ“Š Dataset

The Iris dataset is a well-known dataset in machine learning that contains:

  • Sepal length
  • Sepal width
  • Petal length
  • Petal width

βš™οΈ Steps Performed

  • Data loading and exploration
  • Data preprocessing
  • Splitting dataset into training and testing sets
  • Applying KNN algorithm
  • Model evaluation using accuracy score

🎯 Result

The model successfully classifies the iris species with good accuracy using KNN.

About

K-Nearest Neighbors (KNN) is a supervised machine learning algorithm used for both classification and regression tasks. It operates by finding the k nearest neighbors to a given input data point and making predictions based on their labels.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors