I am trying to create a function which sweeps k (for knn model)through all features (say x1 to xn) then drops x1 and sweeps through X2 to xn later adds x1 again and then drops X