Reputation: 1072
I'm trying to calculate the geometric median for a list of 2/3D points. I've already tried different implementations, but I'm still looking for better results.
I wonder if there is a Java implementation for Weiszfeld's Algorithm so I can save some time.
Upvotes: 4
Views: 1490
Reputation: 833
I did a java implementation of the Weiszfeld method based on this paper: http://ie.technion.ac.il/Home/Users/becka/Weiszfeld_review-v3.pdf.
The repo is on github: https://github.com/j05u3/weiszfeld-implementation.
Upvotes: 1