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

Chen Tao edited comment on MATH-1521 at 3/11/20, 1:52 AM:
----------------------------------------------------------

This is a suggestion, I do not pressing need this interface, but I think it may 
useful.
We can process it when we decide to implement "External Cluster Evaluators", or 
suspend it.


was (Author: chentao106):
This is a suggestion, we can process it when we decide to implement "External 
Cluster Evaluators", or we suspend it.

> A interface to implements various of clusters external measurers
> ----------------------------------------------------------------
>
>                 Key: MATH-1521
>                 URL: https://issues.apache.org/jira/browse/MATH-1521
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Chen Tao
>            Priority: Minor
>
> There are many clusters evaluation algorithm:
> [scikit-learn 
> clustering-performance-evaluation|https://scikit-learn.org/stable/modules/clustering.html#clustering-performance-evaluation]
> They can be divided into 2 categories: “External Measurers” and "Internal 
> Measurers".
> The “External Measurers” evaluator clusters reference to another clusters.
> As opposed to “Internal Measurers”, the "External Measurers" may be:
> {code:java}
> public interface ClusterExternalEvaluator {
>     /**
>      * @param cList List of clusters.
>      * @return the score attributed by the evaluator.
>      */
>     <T extends Clusterable> double score(List<? extends Cluster<? extends T>> 
> clusters1, List<? extends Cluster<? extends T>> clusters2);
>     /**
>      * @param a Score computed by this evaluator.
>      * @param b Score computed by this evaluator.
>      * @return true if the evaluator considers score {@code a} is
>      * considered better than score {@code b}.
>      */
>     boolean isBetterScore(double a, double b);
> {code}



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

Reply via email to