could anyone help me to solve the error in the following code.
1 次查看(过去 30 天)
显示 更早的评论
code:
load fisheriris.mat
clust = zeros(size(meas,1),6);
for i=1:6
clust(:,i) = kmeans(meas,i,'emptyaction','singleton',...
'replicate',5);
end
eva = evalclusters(meas,clust,'CalinskiHarabasz')
When i run the code i am getting error stating Error using kmeans
Too many input arguments.Could anyone please help me on this.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!