Is there any way to initialize the centroids in k-means?

asked 2014-11-03 18:46:36 -0500

updated 2014-11-04 01:37:49 -0500

berak gravatar image

Passing the labels for each sample does not seem like a practical way.Does the function accept a Kx1 array containing initial centroids?

edit retag flag offensive close merge delete


No. the centroids are calculated from the labels. (not the other way round)

berak gravatar imageberak ( 2014-11-04 01:37:24 -0500 )edit