function [color,best,kmeans]=som_kmeanscolor(sM,C,initRGB,contrast) % SOM_KMEANSCOLOR Map unit color code according to K-means cl…
KMeans 源代码
k均值聚类算法(k-meansclusteringalgorithm)是一种迭代求解的聚类分析算法,其步骤是,预将数据分为K组,则随机选取K个对象作为初始的聚类中心,然后计算每个对象与各个种子聚类中心之间的距离,把每个对象分配给距离它最近的聚类中心。聚类中心以及分配给它们的对象就…
Build Log --------------------Configuration: kmeans - Win32 Debug-------------------- Command Lines Creating temporary file…
Microsoft Developer Studio Workspace File, Format Version 6.00 # 警告: 不能编辑或删除该工作区文件! ##########################################…
# Microsoft Developer Studio Project File - Name="kmeans" - Package Owner= # Microsoft Developer Studio Generated Build File, For…
Microsoft Developer Studio Workspace File, Format Version 6.00 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! #########…
# Microsoft Developer Studio Project File - Name="KMEANS" - Package Owner= # Microsoft Developer Studio Generated Build File, For…
Build Log --------------------Configuration: KMEANS - Win32 Debug-------------------- Command Lines Creating temporary file…
Netlab Reference Manual kmeans kmeans Purpose Trains a k means cluster model. Synopsis centres = kmeans(centres, data, …
Contents.m KMEANS K-means clustering algorithm.
function [model,y] = kmeans(X,num_centers,Init_centers) % KMEANS K-means clustering algorithm. % % Synopsis: % [model,y] = kmean…