proto-knn