Constructs a nearest neighbours-based classifier and returns the predictions for a test set
Useful links