%本程序为Shi and Malik(2000)为例进行的程序 clear; close all; load fisheriris; W=SimilarMatrix(meas,1); D=diag(sum(W)); L=D-W; [ev ed…
KMeans 源代码
k均值聚类算法(k-meansclusteringalgorithm)是一种迭代求解的聚类分析算法,其步骤是,预将数据分为K组,则随机选取K个对象作为初始的聚类中心,然后计算每个对象与各个种子聚类中心之间的距离,把每个对象分配给距离它最近的聚类中心。聚类中心以及分配给它们的对象就…
%本程序为Unnormalized为例进行的程序 clear; close all; load fisheriris; W=SimilarMatrix(meas,1); D=diag(sum(W)); L=D-W; [ev ed]=eig(L…
%本程序为Shi and Malik(2000)为例进行的程序 clear; close all; load fisheriris; W=SimilarMatrix(meas,1); D=diag(sum(W)); L=D-W; [ev ed…
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…
/**************************************************************** File Name: kmeans.C Author: Tian Zhang, CS Dept., Univ. of Wis…
function [color,best,kmeans]=som_kmeanscolor(sM,C,initRGB,contrast) % SOM_KMEANSCOLOR Map unit color code according to K-means cl…
// // KMEANS.RC2 - resources Microsoft Visual C++ does not edit directly // #ifdef APSTUDIO_INVOKED #error this file is not…
Build Log --------------------Configuration: kmeans - Win32 Debug-------------------- Command Lines Creating command line "…
//Microsoft Developer Studio generated resource script. // #include "resource.h" #define APSTUDIO_READONLY_SYMBOLS /////////…