Create weighted KNN