Ask Your Question

Revision history [back]

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

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

click to hide/show revision 2
retagged

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

berak gravatar image

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

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