K—means算法在大学生消费状况分析中的应用
ints were moved after the initialclustering procedure.')end主函数如下(运行时调用上面函数即可):k=4;V1=x;[n,d]=size(V1);bn=round(n/k*rand); %第一个随机数在前1/K的范围内nc=[V1(bn,:);V1(2*bn,:);V1(3*bn,:);V1(4*bn,:)] %初始聚类中心[cid,nr,centers]=kmeans(V1,k,nc)2.4 聚类结果在程序中我
<<上一页 下一页>>
广州市越秀区图书馆版权所有。
联系电话:020-87673002
本站访问人数: