commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject Re: [math] Documentation for clustering
Date Fri, 23 Aug 2013 23:00:00 GMT
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.

> 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


Mime
View raw message