How does Scikit learn KNN handle categorical input variables?
In some articles, it's said knn uses hamming distance for one-hot encoded categorical variables. Does the scikit learn implementation of knn follow the same way.
Also are there any other ways to handle categorical input variables when using knn.
Topic k-nn one-hot-encoding regression scikit-learn classification
Category Data Science