commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: [math] Documentation for clustering
Date Fri, 23 Aug 2013 23:08:34 GMT


On Aug 23, 2013, at 4:00 PM, Gilles <gilles@harfang.homelinux.org> wrote:

> Hi.
> 
> On Sat, 24 Aug 2013 00:29:36 +0200, email@thorstenschaefer.de wrote:
>> I just found that commons-math contains an implementation of a
>> kmeans++ clustering algorithm, but I could not find any documentation
>> on it except for the javadoc.
> 
> The user guide is lagging behind for many functionalities. Sorry.

And patches are *most welcome* for this or any other part of the User Guide.

Phil
> 
>> Given the javadoc, I wonder if it is possible to retrieve the actual
>> clusters generated (I.e., sets of the items I input into the
>> algorithm)? I only see that the cluster method returns a list of
>> centroids which would give me the centers, but not the items assigned
>> to each center.
> 
> In class "Cluster<T extends Clusterable>", there is a method
> 
>  public List<T> getPoints()
> 
> Could it be what you are looking for?
> 
> 
> Regards,
> Gilles
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message