Save the knn