shogun-toolbox/shogun — pull request #1752 by mazumdarparijat (2013-11-08 07:47:20+00:00)
Title: added code to manually initialize cluster centers in kmeans

Added a constructor and a public function set_initial_centers both of which accept initial cluster centers in SGVector form. One additional SGVector object is also created mus_initial to store initial centers. I have also created a unit test for the same at tests/unit/clustering.