Evaluation of Clustering Algorithms

1 回表示 (過去 30 日間)
MByk
MByk 2020 年 6 月 25 日
編集済み: MByk 2020 年 6 月 25 日
I am trying to learn basics of clustering and clustering algorithms. Sorry if it is a dumb question. Is there a way to use K-Medoids with "evalclusters"? I just want to check the differences between clustering algorithms and evaluation methods.
% ... Load Dataset
CL_A = {'KMeans','Linkage','GMDistribution'};
% ... Some Calculations
for n=1:4
EvaResult = evalclusters(X,CL_A{n},'CalinskiHarabasz','KList',1:10);
subplot(1,4,n);
% ... Some Calculations
end

採用された回答

Kanika Gupta
Kanika Gupta 2020 年 6 月 25 日
I do not think we can use evalclusters() with k-medoids. This function supports only certain algorithms as explained in here
  1 件のコメント
MByk
MByk 2020 年 6 月 25 日
編集済み: MByk 2020 年 6 月 25 日
I think I found a way but now I have to find a way to call other methods inside the function:
myfunc = @(X,K)(kmedoids(X,K));
EvaResult = evalclusters(X,myfunc,'CalinskiHarabasz','klist',[1:6]);

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by