kmeans
所属分类:人工智能/神经网络/深度学习
开发工具:Visual C++
文件大小:206KB
下载次数:7
上传日期:2009-01-03 20:55:49
上 传 者:
ryanyuyang
说明: 人工智能、模式识别中经常要用到的K均值聚类算法,很有帮助
(Artificial intelligence, pattern recognition are often used in K-means clustering algorithm, very helpful)
文件列表:
KMEANS\data.txt (256, 2006-04-29)
KMEANS\Debug (0, 2006-09-08)
KMEANS\KM2.DAT (191, 1995-01-21)
KMEANS\KMEANS.CPP (9276, 2006-05-11)
KMEANS\KMEANS.DSP (3401, 2006-04-17)
KMEANS\KMEANS.DSW (535, 2006-04-18)
KMEANS\KMEANS.ncb (41984, 2006-05-11)
KMEANS\KMEANS.OPT (54784, 2006-05-11)
KMEANS\KMEANS.PLG (0, 2006-04-29)
KMEANS (0, 2006-09-08)
kmeans.cpp (2180, 2006-09-29)
Kmeans.dsp (4288, 2006-09-29)
Kmeans.dsw (535, 2006-09-29)
Kmeans.ncb (33792, 2006-09-29)
Kmeans.opt (49664, 2006-09-29)
Kmeans.plg (1393, 2006-09-29)
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
近期下载者:
相关文件:
收藏者: