Hi, >> > [...] >> Solution 3 is "ClusterRanking". >> In cases where the reference algorithm would assume the >> other convention (i.e. "lower is better"), the implementation >> is required to apply a conversion (e.g. return the opposite). > >s/opposite/inverse/ > >[We should probably enforce that ranking is positive.] >
How do we trade this situation with different rank rules(lower is better, or higher is better): ```java if (evaluator.isBetterScore(varianceSum, bestVarianceSum)) { // this one is the best we have found so far, remember it best = clusters; bestVarianceSum = varianceSum; } ``` >Gilles > >>>> [...] > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org