cPPk-means
所属分类:控制台编程
开发工具:Visual C++
文件大小:224KB
下载次数:5
上传日期:2013-01-08 10:18:34
上 传 者:
liao272549164
说明: 这是一个用C++写就的kmeans算法,很好很实用。
(this is a kmeans way by writed c++ ,If you want it ,please download it .)
文件列表:
c++k-means\Debug\KMEANS.exe (225340, 2012-04-20)
c++k-means\Debug\KMEANS.ilk (231448, 2012-04-20)
c++k-means\Debug\KMEANS.obj (19807, 2012-04-20)
c++k-means\Debug\KMEANS.pch (238136, 2012-04-20)
c++k-means\Debug\KMEANS.pdb (517120, 2012-04-20)
c++k-means\Debug\vc60.idb (41984, 2012-04-20)
c++k-means\Debug\vc60.pdb (53248, 2012-04-20)
c++k-means\KM2.DAT (191, 1995-01-21)
c++k-means\KMEANS.CPP (9411, 2012-04-20)
c++k-means\KMEANS.DSP (3401, 2012-04-20)
c++k-means\KMEANS.DSW (537, 2012-04-20)
c++k-means\KMEANS.ncb (33792, 2012-04-20)
c++k-means\KMEANS.OPT (48640, 2012-04-20)
c++k-means\KMEANS.PLG (744, 2012-04-20)
c++k-means\Debug (0, 2012-04-20)
c++k-means (0, 2012-04-20)
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
近期下载者:
相关文件:
收藏者: