Skip to content

Hand writing classification using KNN algorithm

Notifications You must be signed in to change notification settings

Darshanjaji/KNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KNN-algorithm

In this project we are doing the Handwriting classification problem.
The model can able to predict the numbers from 1 to 10 which is written in hand. This is a supervised machine learning model.
##KNN steps

  1. Find the distance between new test point from all the train data set points
    using equation d = sqrt((x1-x2)^2 + (y1-y2)^2).
  2. Sort the distance and get the first 5 distance and which class it belongs to in the list.
  3. Based on first 5 distance and class find which calss occured more number of time and return that class as the answer.

This model has 97% accuracy.

About

Hand writing classification using KNN algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages