The purpose of this package is to recognize handwritting number by using a kNN Classifier
This Package is organized with 3 folders :
- /script : python scripts for classification, recognition and ploting graph
- /mnist : the MNIST raw data (.csv) with training images, training labels, test images, test labels
- /result : the result data used to accelerate the analyze because of the computation time (data of test's 100 nearest images from training)
In order to see how work the kNN classifier you have to open knn.py. For analyzing the result for different k and all the data set (10k images) you should run plot.py
You need to have numpy, and matplotlib on you computer. For that :
$ sudo apt-get install python-numpy python-scipy python-matplotlib
In order to execute python script:
$ cd script
$ python knn.py
$ python plot.py