I have a dataset with numerical and categorical features. I am trying to run a k-means algorithm to find clusters of data.
What is the best way to encode categorical features?
I have been doing one hot encoding but I guess that it can be easily improved.