Homework 1

k-NN Based Classifier

Images used from MNIST training set = 6000
Images used from MNIST test set = 3000

From the plot it can be seen that the percdentage error first decreases and then increases with the minimum at k=5.