nicodv / kmodes

Python implementations of the k-modes and k-prototypes clustering algorithms, for clustering categorical data
MIT License
1.23k stars 416 forks source link

Add user dissimilarity matrix #147

Open davins90 opened 4 years ago

davins90 commented 4 years ago

Hi, first of all, thanks for your precious work. I have this suggestion: for the categorical variable is is possible to add a precomputed dissimilarity matrix (like from gower function)?

Thanks

nicodv commented 4 years ago

Not supported yet, and might be a pretty hefty refactor to add it. Although not too fundamentally complex.

I would honestly say this is not a priority for me, so... PRs are welcome. :)