What is with the max iteration command line argument?
In project 2 we ask you to specify the maximum number of iterations for k-means in the command line. This argument specifies the maximum number of iterations we allow before cutting off if convergence is not acheived. It is useful for testing (and more importantly for us grading) purposes. Also it allows you to get “pretty good” results in cases when it is taking a long time to converge. For this project we generally want it set pretty high (I will test it on 50 iterations). NOTE: Do not rely on the maximum iteration parameter to stop the program. If k-means converges before the maximum number of itereations is reached then it should stop then.