This is a K nearest neighbor Classifier implementation in python.
L2 Eucledian distance measurement is used.
- knn.py - Implement k nearest neighbor classifier class
- cifar10.py - Implementes dataset read, split and show functionality
- knn_usage.py - Test application, entry point to use knn.py and cifar10.py
ToDo: implement cross validation, As soon as i have some spare time ;)
Dataset used is CIFAR-10. Following is a sample from the dataset.