What is the best encoder for categorical data in unsupervised learning?
I am using unsupervised learning on mixed data (such as K-means).
Before running my unsupervised algorithm, I am using dimension reduction of my data using FAMD (PCA for mixed data) which allows me to obtain coordinates and reduce the dimension of my dataset.
The FAMD required One-hot encoding (aka Dummies Variable) and it's based on SVD. The SVD could be very time-consuming if the number of dimensions is high, and this is my case when I have categorical variables with a large number of modalities.
So I am looking for an encoder suitable for categorical data in the context of unsupervised learning.
I've found some pretty good encoders for supervised learning (target encoding as an example) but it's not adapted for unsupervised learning.
related post: Unsupervised encoding of categorical features