-
KMEANS
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 <enter>
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 <enter>
(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 <enter>
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 <enter>
)
- 2013-01-05 23:11:23下载
- 积分:1
-
shuang-tuo-qiu-re-yuan
fluent软件的UDF程序,是焊接过程的热源,热源类型为双椭球空间热源。(fluent udf heat source)
- 2020-10-13 00:07:32下载
- 积分:1
-
HeatTransfer_1D
求解一维热传导方程,格式包括FTCS、BTCS、CNCS三种差分格式(solve one dimension heat transfer equation. )
- 2021-04-17 16:48:53下载
- 积分:1
-
fft
用C++编写的一维和二维快速傅里叶变换程序(Prepared with C++ one-dimensional and two-dimensional fast Fourier transform procedure)
- 2013-11-04 16:19:50下载
- 积分:1
-
areaofcircle
一圆形游泳池如图所示,现在需在其周围建一圆形过道,并在其四周围上栅栏。
栅栏价格为35元/米,过道造价为20元/平方米。
过道宽度为3米,
游泳池半径由键盘输入。
要求编程计算并输出过道和栅栏的造价。(A circular pool as shown in figure, now in its built around to a circular corridor, and in its 4 around on the fence.
The fence for 35 yuan/m price, corridor cost for 20 yuan/square metre.
Aisle width is 3 meters,
The radius of the swimming pool by keyboard input.
Demand and output programming calculation of corridor and the cost of the fence.
)
- 2012-04-06 11:29:01下载
- 积分:1
-
Calculator
Visual C++6.0 实现的多功能计算器(Visual C++6.0 achieve the multi-function calculator)
- 2012-05-29 15:50:21下载
- 积分:1
-
Stack
This is a Stack Class with Funtions Push,Pop,
check Stack is Full or Empty
Application:
Change a number from Decimal to Binary
- 2009-03-23 07:47:26下载
- 积分:1
-
My21Narcissus
21位水仙花数的寻找,里面用到了大数乘法等细节上的东西。(find the 21 digits narcissus.)
- 2012-09-07 11:42:41下载
- 积分:1
-
supervisedWSD
利用贝叶斯分类原理实现多义词的消歧。首先利用训练语料进行训练,然后基于机器已经获取的知识的基础上对生语料进行词义标注。(Realize the principle of the use of Bayesian classification polysemous word sense disambiguation. First of all, the use of training corpus for training, and then the machine has been based on knowledge gained on the basis of corpus for semantic tagging of Health.)
- 2008-05-15 19:04:24下载
- 积分:1
-
INORDER_PRE_POST_TRAVERSE
PRE IN POST OREDER TRAVERSAL C++ CODE VISUAL
- 2016-05-11 20:58:00下载
- 积分:1