starspace_knn function

K-nearest neighbours using a Starspace model