is there any shortcut of finding the convergence point or we always have to visually see this ? because in case of multi features it will be difficult to plot these points
How to know after how many steps the points will converge?
Hi @ishabehera
There are multiple approaches to this problem:
The first one is simply plotting the clusters and see whether the clusters are good or not.
Second one, you can stop when there are no changes in the clusters after an iteration i.e. all points are still assigned to the clusters they were in the previous iteration.
Last one is, you can define a loss function like this:
and you can stop when the change in this loss function is very small.
Hope this helps!
How to visualize in case of problems with more than 2 features?
if some problem has say 40 features and 8 classes, how to do appropriate data visualization ?
You can transform the data into 2 dimensions using dimensionality reduction methods like PCA. Once in 2 Dimensions, you can easily visualize them.