필터 지우기
필터 지우기

Different Values if K-means Clustring on same data.

조회 수: 1 (최근 30일)
Khawaja Asim
Khawaja Asim 2014년 4월 8일
댓글: Walter Roberson 2014년 4월 8일
I have been using matlab function of K-means clustring for making clusters of data. I happen to apply it on same data. But got wildly different results every time. I know the reason for this. But I need sugestions for overcoming this issue. Should I use some modified version of K-means or Should look for some other clustering technique?
K-means command which i used is "kmeans(Feature_Matrix,20,'Replicates',5,'emptyaction','singleton');

채택된 답변

Shashank Prasanna
Shashank Prasanna 2014년 4월 8일
편집: Shashank Prasanna 2014년 4월 8일
Kmeans can get stuck in local minima. By which I mean it is sensitive to initial centroid positions. You can specify a higher number of replicates to increase you chances of getting a global solution.
If you are interested in exploring other clustering algorithms, find all the supported ones here:
  댓글 수: 2
Khawaja Asim
Khawaja Asim 2014년 4월 8일
thanks...
Walter Roberson
Walter Roberson 2014년 4월 8일
kmeans uses random initialization of cluster positions, unless you pass it specific positions to start at.

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by