error occurred while executing a kmeans function

1 view (last 30 days)
Error using kmeans/batchUpdate (line 376) Empty cluster created at iteration 1.
Error in kmeans (line 280) converged = batchUpdate();
Error in testing1 (line 28) [cr,ccr] = kmeans(R,10) the above error occurred while executing a program for kmeans clustering. kindly help me out.
  4 Comments
chethan
chethan on 18 Mar 2014
the problem was with the data supplied for kmeans clustering. thank u sir.
Walter Roberson
Walter Roberson on 20 Mar 2014
Look at the documentation page, at the 'emptyaction' option.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!