|
Does anyone know of a fast K-Modes implementation? Ideally in R. I am building an ensemble method to group observations with similar labels in different clustering algorithms. The klaR library does have a K-Modes implementation but it's too slow. |
|
Thanks John for your response. I fixed the klaR K-Modes algorithm and its an order of magnitude faster now. I've put it on Github repository K-Modes. I've also sent this to the package maintainer. Hope this is of use to someone else. No problem, Phillip. Thanks for sharing your code!
(Jul 09 '10 at 18:33)
John L Taylor
|
|
Sifting a bit through the literature (and CRAN, of course), sadly I do not any find readily available code for k-mode clustering in the form you need, but I have found some ways to possibly implement a speed-up, or otherwise get it done:
If you code something better, be sure to make the world a happier place and share it. I know that this is falls short of your request, but at least they are some options. Best of luck. |