Open Access Open Access  Restricted Access Subscription or Fee Access

Application of K-Nearest-Neighbors Classification for Number Recognition

Akshay Nagpal


In this paper, I have presented an application of k-nearest-neighbors classification algorithm to single digit recognition. A classifier function was developed which could recognize the number present in the image. The input to the classifier function consists of PNG and JPEG files containing a single digit. The classifier recognized the number by using the dataset of text files given to it. It was observed that the accuracy of the classifier improved with every iteration of the program as the program learnt from its earlier errors. Finally, further improvements and future scope of the model has been discussed.


number recognition, k-nearest-neighbours, classification, supervised machine learning.

Full Text:



  • There are currently no refbacks.

Disclaimer/Regarding indexing issue:

We have provided the online access of all issues and papers to the indexing agencies (as given on journal web site). It’s depend on indexing agencies when, how and what manner they can index or not. Hence, we like to inform that on the basis of earlier indexing, we can’t predict the today or future indexing policy of third party (i.e. indexing agencies) as they have right to discontinue any journal at any time without prior information to the journal. So, please neither sends any question nor expects any answer from us on the behalf of third party i.e. indexing agencies.Hence, we will not issue any certificate or letter for indexing issue. Our role is just to provide the online access to them. So we do properly this and one can visit indexing agencies website to get the authentic information.