How do I find out if kmeans terminated because of iteration count or precision?

asked 2015-12-13 02:04:24 -0600

liquidmetal gravatar image

Let's say I'm running kmeans on a dataset with a termination criteria on 100 iterations and epsilon of 0.01. Once the function returns, how do I find out which termination criteria was used to terminate the algorithm?

edit retag flag offensive close merge delete