I am working on clustering algorithms.I am working with titanic dataset.It contains 6 categorical features.I used k-means algorithm on this dataset.I am using label encoding for categorical features.But i found that categorical features should use euclidean distance.it should use hamming distance.so,How to make k-means works finely on mixed features.I don't need other algorithm.I just want to work with k-means only on mixed features dataset.
How to handle categorical features in K-means?
Sathya
- 11
- 1
- 3