[ https://issues.apache.org/jira/browse/MATH-1371?focusedWorklogId=714862&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-714862 ]
ASF GitHub Bot logged work on MATH-1371: ---------------------------------------- Author: ASF GitHub Bot Created on: 25/Jan/22 16:53 Start Date: 25/Jan/22 16:53 Worklog Time Spent: 10m Work Description: asfgit closed pull request #35: URL: https://github.com/apache/commons-math/pull/35 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 714862) Time Spent: 20m (was: 10m) > Provide accelerated kmeans++ implementation > ------------------------------------------- > > Key: MATH-1371 > URL: https://issues.apache.org/jira/browse/MATH-1371 > Project: Commons Math > Issue Type: Improvement > Reporter: Artem Barger > Assignee: Artem Barger > Priority: Major > Fix For: 4.X > > Attachments: ElkanKmeansPlusPlusClusterer.java, > ElkanKmeansPlusPlusClustererTest.java > > Time Spent: 20m > Remaining Estimate: 0h > > 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 (v8.20.1#820001)