I am getting this warning message while executing the k means cluster algorithm ?
Show older comments
Warning: Failed to converge in 100 iterations.
> In kmeans/loopBody (line 479)
In internal.stats.parallel.smartForReduce (line 136)
In kmeans (line 343)
In sav (line 27)
3 Comments
SALAH ALRABEEI
on 18 Jun 2021
Try to increase the number of iterations
kmeans(data,k,'MaxIter',10000)
Image Analyst
on 18 Jun 2021
You forgot to attach your data. I'll check back later for it.
MINO GEORGE
on 18 Jun 2021
Answers (0)
Categories
Find more on k-Means and k-Medoids Clustering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!