This custom k-NN implementation is tested and compared against scikit-learn's KNeighborsClassifier to verify correctness of operation. For further information please refer to the analysis section.