shogun-toolbox/shogun — pull request #1225 by iglesias (2013-07-08 22:57:45+00:00)
Title: Feature/knn public neighbors

Added a method in kNN to return the indices of the nearest neighbours. This is necessary in LMNN.
Also, I think it is interesting to have since it makes sense to use kNN to find out the nearest neighbours,
and not only to use it as a classifier per se.