Which code is this in?

If you are reading centroids from a file, it seems that you are just
classifying points which should not be done with updates.

If you are reading points from a file and creating/updating centroids, then
the centroids should be created as dense vectors.

Either way, I don't see how you have this problem.  Clearly you do,
however, so my understanding of the goal is probably missing.


On Wed, Apr 10, 2013 at 2:56 PM, Dan Filimon <[email protected]>wrote:

> Then, when assigning each point to its appropriate vector, we update the
> centroid itself using assign() and a custom function that does a weighted
> sum.
>

Reply via email to