test discretization and knn finished