trying to apply knn for data set