필터 지우기
필터 지우기

Empty cluster at iteration 2

조회 수: 1 (최근 30일)
naman
naman 2015년 6월 13일
댓글: Walter Roberson 2015년 6월 13일
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 ?

답변 (1개)

Walter Roberson
Walter Roberson 2015년 6월 13일
  댓글 수: 2
naman
naman 2015년 6월 13일
Is the "start" only option. I tried this with different start parameters, but still I am getting the error.
Walter Roberson
Walter Roberson 2015년 6월 13일
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.

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by