Github user srowen commented on the issue: https://github.com/apache/spark/pull/14956 @mateiz I was able to reproduce the result in Figure 5.3 very closely (Spambase data set) and the result in Figure 5.2 pretty closely (mixture of Gaussians). In each case it seems like the final cost doesn't change much after 2 init steps. I didn't find as much of a jump in cost for 1 init step in mixture of Gaussians, but otherwise it matched well in terms of the log10 of sum of squares cost reported in the paper vs the implementation. (I have code if anyone cares.) For example here's number of steps vs log10 of cost for... k=20 1 7.344 2 7.404 3 7.401 4 7.389 5 7.396 6 7.423 7 7.374 8 7.442 9 7.402 10 7.345 k=50 1 6.940 2 6.817 3 6.831 4 6.798 5 6.888 6 6.803 7 6.838 8 6.815 9 6.818 10 6.804 k=100 1 6.663 2 6.359 3 6.400 4 6.345 5 6.397 6 6.407 7 6.367 8 6.452 9 6.368 10 6.413
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org