generated data for KNN