K-MeansCluster
所属分类:数值算法/人工智能
开发工具:C/C++
文件大小:29KB
下载次数:98
上传日期:2006-03-27 09:31:28
上 传 者:
OwenDelphi
说明: K-Means是聚类分析中重要的一种方法,此源码是K-Means聚类分析的C语言实现。
(K- Means clustering analysis is the most important way, this source is K- Means clustering analysis of the C language.)
文件列表:
K-Means动态聚类算法源程序\KMEANS\KM2.DAT (191, 1995-01-21)
K-Means动态聚类算法源程序\KMEANS\KMEANS.CPP (9098, 1995-08-25)
K-Means动态聚类算法源程序\KMEANS\KMEANS.EXE (52080, 1995-08-25)
K-Means动态聚类算法源程序\KMEANS (0, 2006-03-27)
K-Means动态聚类算法源程序 (0, 2006-03-27)
This directory contains code implementing the K-means algorithm. Source code
may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS
program accepts input consisting of vectors and calculates the given
number of cluster centers using the K-means algorithm. Output is
directed to the screen.
Usage for KMEANS is:
KMEANS SOURCEFILE
The format of the source file is:
NPat - Number of patterns (int)
SizeVect - Size of vector (int)
NClust - Number of cluster centers(int)
vect[1,1] ... vect[1,SizeVect] - vector 1 (real)
vect[2,1] ... vect[2,SizeVect] - vector 2 (real)
. .
. .
. .
vect[NPat,1] ... vect[NClust,SizeVector] - vector N (real)
To compile:
ICC KMEANS.CPP
近期下载者:
相关文件:
收藏者: