A simple KNN classifier implementation with L1 distance metric
- dask (faster version of numpy).
Alternatively, if you have a GPU, use cupy library for faster computation
- Download and extract CIFAR10 dataset (python version) from https://www.cs.toronto.edu/~kriz/cifar.html to the project folder.
- change the value of K in the nearest_neighbor.py file if required. The default is set to 1.
- Run nearest_neighbor.py