[ 
https://issues.apache.org/jira/browse/MATH-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben McCann updated MATH-266:
----------------------------

    Attachment: clustering.zip

Here's an implementation of the k-means++ clustering algorithm.
I tested it out by using it for image segmentation and it worked well (reducing 
# of colors in image by clustering on pixel values - for an example see 
http://www.leet.it/home/lale/joomla/component/option,com_wrapper/Itemid,50/).  
It was much much faster than Rafael Santos's library which I ran as a 
comparison.  If all looks good and this is committed, then I'll follow up 
shortly by submitting some unit tests for it.

> Support for Clustering Algorithms
> ---------------------------------
>
>                 Key: MATH-266
>                 URL: https://issues.apache.org/jira/browse/MATH-266
>             Project: Commons Math
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Ben McCann
>             Fix For: 2.0
>
>         Attachments: clustering.zip
>
>
> It'd be nice if Commons Math could run K-means or some other clustering 
> algorithms.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to