rectify error in kmeans
Show older comments
i wanted to do kmeans clustering in mammogram image.... i took the datavector of the image and gave as input to kmeans.... when i execute the code error is displayed as...."An empty cluster error occurred in every replicate.".... what should i do to rectify this error....
Accepted Answer
More Answers (1)
Greg Heath
on 13 Jan 2013
0 votes
Reduce k by 1.
Hope this helps.
Thank you for formally accepting my answer.
Greg
1 Comment
Elysi Cochin
on 14 Jan 2013
Categories
Find more on AI for Signals 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!