Filter löschen
Filter löschen

Empty cluster at iteration 2

1 Ansicht (letzte 30 Tage)
naman
naman am 13 Jun. 2015
Kommentiert: Walter Roberson am 13 Jun. 2015
Hi I am using [idx,C] = kmeans(X,k), but sometimes it shows the error empty cluster at iteration 2. What is the possible cause of error and how to resolve it ?

Antworten (1)

Walter Roberson
Walter Roberson am 13 Jun. 2015
  2 Kommentare
naman
naman am 13 Jun. 2015
Is the "start" only option. I tried this with different start parameters, but still I am getting the error.
Walter Roberson
Walter Roberson am 13 Jun. 2015
You may wish to change EmptyAction, such as 'EmptyAction', 'singleton'
Singletons usually do not end up gathering neighbors, and so usually indicate that the starting locations were not well chosen for the data. The starting locations are random by default and other than taking into account the range of the data, the random locations do not take into account the local density of the data.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by