Indeed, KMeans is a very simple algorithm. Any good reason why not manually encode it? I did this in Qt and then ported the code to a regular old STL without any problems.
I am starting to be a fan of Joel's idea: no external dependencies, so please feel free to tell me what is good in most of the software that you do not control, and others have already mentioned this is not a good piece of software /
The discussion is cheap, a real man shows his code to the world: http://github.com/elcuco/data_mining_demo
I have to clear the code a bit to be more general, and the current version is not ported to STL, but this is the beginning!
source share