From: Subject: Date: Sat, 24 Jun 2006 16:50:37 +0800 MIME-Version: 1.0 Content-Type: text/html; charset="gb2312" Content-…
Kmeans 源代码
k均值聚类算法(k-meansclusteringalgorithm)是一种迭代求解的聚类分析算法,其步骤是,预将数据分为K组,则随机选取K个对象作为初始的聚类中心,然后计算每个对象与各个种子聚类中心之间的距离,把每个对象分配给距离它最近的聚类中心。聚类中心以及分配给它们的对象就…
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…
文件头: //***********引入库函数 #include "iostream.h" #include "math.h" #include "stdlib.h" #include "iomanip.h" #incl…
Contents.m KMEANS K-means clustering algorithm.
#include "myk-means.h" #include #include using namespace std; void kmeans::initial(string fileName,int clusterNum) { ge…
#!/usr/bin/python # Wrapper for the MPI-Kmeans library by Peter Gehler from ctypes import c_int, c_double, c_uint from numpy.cty…
/**************************************************************** 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…