[mlpack-git] [mlpack] k-means should allow selecting points randomly as initialization (#596)

Ryan Curtin notifications at github.com
Fri Mar 25 23:57:49 EDT 2016


This also comes out of the discussion for #592.  @kno10's suggestion is that we simply pick points randomly from the dataset as initial centroids.

This requires a bit of refactoring because the current initialization policy operates by setting the assignments of each point, instead of the location of each centroid.  So there will need to be a little bit of thought on how exactly to handle this, but probably some template metaprogramming to handle both cases is in order here (so that a user can both write initialization policies that give initial point assignments and also initial centroids).

I will do this as I have time.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/596
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160325/5f8b104e/attachment.html>


More information about the mlpack-git mailing list