Sunday, August 23, 2009

K-means clustering machine

Small work to demonstrate function of k-means clustering. Just to practice work with flex components.
It's finished finally, I didn't have much time for it. Used Flex 3 + AS3, there's something wrong with memory management but it's working more or less anyway :)

Here's some screenshot:


And here is the link to latest working version:
http://www.paused21.net/off/kmeans/bin/

How to use:
1. Generate some points with 'Generate' button (1-300 points)
2. Click on the white canvas to create some default cluster centers (up to 15)
3. Hit the 'Start' button
4. Now you can use Iteration buttons down there to move and see specific iteration steps.

Edit: Source files can be found Here.

No comments:

Post a Comment