Working with MNIST dataset of hand written images can be found HERE
- Numpy
- Knearest Neighbor algoritthms
- Converter transorms such data into appropiate binary data
TRAINIMGFNAME = "training-images.bin"
TRAINIMGLABEL = "training-labels.bin"
TESTIMGFNAME = "testing-images.bin"
TESTLABELS = "testing-labels.bin"
-
Cleaner class takes binary and based on its type
p1 p2 p5
transforms it into the same binary format. Look atcleaner.py
to understand further. -
Trainer reads and performs knearest, once testing performs a predition which is associated with a label. whichever label its prediction is closest is the overall chosen predition
- to see if the alphabet images were loaded correctly
- Only 83 percent accurate, planning to scale the picture size.