I’m just a little confused here. Does the existing kmeans function in matlab have the ability to serially find the kmeans of data? Or does onlinephase mean something else?
I’m just a little confused here. Does the existing kmeans function in matlab have
Share
No, the
'onlinephase'is performed as a second step after the usual “assign-recompute” iterations (in batch mode). It guarantees to find a local minimum solution given the distance function used (also given the initial cluster centroids), by moving points between clusters until the total sum of distances cannot be further reduced.Do not confuse this with finding the global minimum (which I believe is NP-hard problem)
This is well explained in the documentation: