You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles Sadowski (Jira)" <ji...@apache.org> on 2020/03/10 17:54:00 UTC
[jira] [Commented] (MATH-1521) A interface to implements various of
clusters external measurers
[ https://issues.apache.org/jira/browse/MATH-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056195#comment-17056195 ]
Gilles Sadowski commented on MATH-1521:
---------------------------------------
Please provide a use-case.
> 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)