[ 
https://issues.apache.org/jira/browse/MATH-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17061667#comment-17061667
 ] 

Gilles Sadowski commented on MATH-1525:
---------------------------------------

Is the PR intended for discussion only, or for inclusion as-is in the 
repository?
In the latter case, you should really follow previous suggestions:
* the JIRA id (in this case: "MATH-1525") must prefix the commit message,
* no spurious commit (in this case: the reference to fixing a compile error) 
should appear in the history.

Also:
* Class {{ErrorClustersPointExtractor}} is never used.
* The  name{{ClustersPointExtractor}} is not very self-documenting (and the 
class is missing Javadoc).

bq. I'd like a Enum class like RandomSouce, but the construction of the 
implementations is different.

I got that it might not be possible, but perhaps the design could be better 
that simply grouping those classes in a public package.
I think that we should discuss it further (in relation to the idea of having 
higher-level specific classes like "ClusterSet" and "ClusteringResult").

> The "EmptyClusterStrategy" in KMeansPlusPlusClusterer should be move out as a 
> Interface
> ---------------------------------------------------------------------------------------
>
>                 Key: MATH-1525
>                 URL: https://issues.apache.org/jira/browse/MATH-1525
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Chen Tao
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> The "EmptyClusterStrategy" and relative code in KMeansPlusPlusClusterer 
> should be move out as a Interface and different implementations.
> The can be reused in other Cluster algorithms, such as 
> MiniBatchKMeansClusterer. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to