Hi.

On Sat, 24 Aug 2013 00:29:36 +0200, [email protected] 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to