View Single Post
Old 06-09-2012, 08:01 PM
markweitzman markweitzman is offline
Invited Guest
Join Date: Apr 2012
Location: Las Vegas
Posts: 69
Default Re: Question 14 LLoyd's algorithm - empty clusters

I haven't had any problem since I used the approach of updating the mean of a cluster to a random point if the cluster was empty. And to my surprise once I figured out the parameters the scilearn python package has a routine which implements lloyds algorithm and it agreed with my own coding once I set equivalent parameters and seeds.
Reply With Quote