commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Barger (JIRA)" <>
Subject [jira] [Commented] (MATH-1371) Provide accelerated kmeans++ implementation
Date Tue, 31 May 2016 00:40:13 GMT


Artem Barger commented on MATH-1371:

Well, it wasn't my initial intent, but while speaking w/ you on the ML and thinking about
it a bit more in depth, I do not see any particular reason to have both efficient and non
efficient implementations available.

> Provide accelerated kmeans++ implementation
> -------------------------------------------
>                 Key: MATH-1371
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Artem Barger
>            Assignee: Artem Barger
>         Attachments:
> There is an updated version of kmeans++ algorithm available, which is published in: Elkan,
Charles. "Using the triangle inequality to accelerate k-means." ICML. Vol. 3. 2003. paper.
> The main essence is to boost the kmeans iterations by avoiding computation of distances
between centers and points when there is no need for that. For example after the update cluster
center haven't moved too far from the point therefore no change in point assignment. The accelerated
algorithm avoids unnecessary distance calculations by applying the triangle inequality in
two different ways, and by keeping track of lower and upper bounds for distances
> between points and centers.
> Algorithm description is available in the paper.

This message was sent by Atlassian JIRA

View raw message