commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <>
Subject [jira] [Commented] (MATH-917) More distance measurements are needed in o.a.c.m.stat.clustering.
Date Wed, 27 Mar 2013 21:53:16 GMT


Thomas Neidhart commented on MATH-917:

Applied patch with changes + tests in r1461862:

 * changed Clusterer to an abstract class
 * changed Clusterable interface to require only one method: double[] getPoint()
 * kept DoublePoint, and it also wraps an int[]: imho this class makes sense as it does not
require someone to implement Clusterable for simple use-cases
 * created overridden constructors for providing a DistanceMeasure
 * added tests
 * added getters for the customisable arguments of a clusterer

I guess we could continue discussing the API, but for now it is pretty fine imho, we can evaluate
if it is well suited and adjust if needed in 4.0.

Still need to deprecate the old package.
> More distance measurements are needed in o.a.c.m.stat.clustering.
> -----------------------------------------------------------------
>                 Key: MATH-917
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Reid Hochstedler
>             Fix For: 4.0
>         Attachments:,
> Currently only Euclidean distance is used for distance measurement, it would be easy
to quickly add Manhattan and Chebyshev distance among others.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message