knn experment scripts