-
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
-
R-K
四阶龙格库塔法,用C++编写,很有参考价值(Fourth-order Runge-Kutta method, written in C, a good reference)
- 2011-12-29 20:44:34下载
- 积分:1
-
82859165cifa
编程序,按如下要求来求解n元一次线性方程组(假设方程组具有唯一解)。 (1)方程个数n之值由用户通过键盘输入; (2)方程组存放在“增广矩阵”A之中,而n行n+1列的A存储空间通过new来动态分配,且A的各元素值也由用户通过键盘输入
(Allocation procedures, the following requirements to solve the n-a system of linear equations (assuming a unique solution of equations). (1) the number n of the value equation by the user through the keyboard input (2) equations stored in the augmented matrix A, while n line n+ 1 column A storage space through the new dynamically allocated, and A The value of each element by the user through the keyboard input)
- 2011-06-21 22:50:34下载
- 积分:1
-
1.21b
分数阶滑模工具箱,可用于解决阶次比较低的时候(fractional order sliding mode )
- 2016-10-10 09:37:28下载
- 积分:1
-
Large_Scale_NMF
处理大规模矩阵,对大规模的矩阵进行分解,即形如分解A=UV(To deal with large-scale matrix, mass matrix decomposition, that is shaped like a decomposition A = UV)
- 2012-12-12 21:19:34下载
- 积分:1
-
shannon
香农编码的C语言实现,VC++环境~~~~~~~~~~~~~~~~~~~~~~~~~(Shannon C-language coding, VC++ environment ~~~~~~~~~~~~~~~~~~~~~~~)
- 2010-05-27 11:01:01下载
- 积分:1
-
EMD-C
EMD分解C语言算法,内含EMD分解所需的三次样条插值C语言算法。(EMD decomposition algorithm C language, containing the decomposition EMD cubic spline interpolation algorithm C language.)
- 2021-02-03 01:10:00下载
- 积分:1
-
Gearerroranalysisprogam
用vc++编写的具有计算齿轮误差的软件,并能判断是否合格(Prepared using vc++ error with computing gear software, and to determine eligibility)
- 2020-09-09 10:48:02下载
- 积分:1
-
water-quality-model
水质模型,用于计算河流下游及河口水环境容量(use for water quality)
- 2016-01-22 16:34:35下载
- 积分:1
-
Preamble-detection
可实现OFDM电力载波通信的前导序列检测,能进行连续多个前导检测(Can achieve OFDM power carrier communication leading sequence detection, can carry out a number of continuous preamble detection)
- 2017-03-01 09:59:37下载
- 积分:1