could anyone help me to solve the error in the following code.
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!