I am trying to impute missing values in my dataset by using Knn. Could anyone suggest me a concept of this method and how to do this by using Knn in scikit-learn.
Thank you in advance.
I am trying to impute missing values in my dataset by using Knn. Could anyone suggest me a concept of this method and how to do this by using Knn in scikit-learn.
Thank you in advance.
you can use KNN imputer from Sklearn, Note: works only on numerical data not on categorical, I know because I tried on categorical
please go to this link for more info