How do I find out if kmeans terminated because of iteration count or precision?
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?