-
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
-
fft
用C++编写的一维和二维快速傅里叶变换程序(Prepared with C++ one-dimensional and two-dimensional fast Fourier transform procedure)
- 2013-11-04 16:19:50下载
- 积分:1
-
zuijinercheng
基于C环境下的最小二乘法的计算编程算法相当相当实用。(C based on the circumstances of the least squares algorithm for calculating the programming very well.)
- 2009-05-12 23:42:37下载
- 积分:1
-
BigNumberPlusMinusMuitiplyDivide
可以实现十几位整数的四则运算,效率也较好(Four operations can be more than a dozen integer,and the efficiency is better)
- 2012-05-10 09:56:55下载
- 积分:1
-
Gravity-anomaly
计算重力异常,只需要输入最大重力场模型的最大阶数以及重力场模型文件名在程序里设置经纬度范围和间隔即可得到重力异常(Gravity anomaly)
- 2013-06-13 14:46:49下载
- 积分:1
-
convolution
稀疏脉冲反褶积代码,包括高尔消元法解矩阵方程阻,自相关,互相关,褶积,反褶积的代码.
刚参加工作那会儿,上进心也足,爱动脑,编了很多的程序,唯有这一个是我引以为傲的,花了几个星期写的稀疏脉冲(预测)反褶积的代码,放到了现在,觉得也没必要再私藏下去了,不出五年,我都不知道这段代码是干什么的了.
希望对大家有用,方法太简单,所以效果不是太好,请大家修改,如要转载,请记得注明出处.
(vc++)
- 2009-05-09 16:51:58下载
- 积分:1
-
zuiyouhuasuanfa
包括牛顿法,阻尼牛顿法,变尺度算法,最速下降法的优化算法程序。(Newton' s method, damped Newton method, variable metric algorithm, the steepest descent method optimization algorithm.)
- 2013-03-24 15:51:53下载
- 积分:1
-
db
说明: 本程序用在测试采煤机煤矸识别系统中,验证小波算法(Wavelet Algorithm for caving coal)
- 2013-08-10 18:33:01下载
- 积分:1
-
Optimization
混合储能,风机,光伏,柴油机之间的优化配置的仿真分析程序(Optimize the allocation of mixed storage, wind, solar, diesel between Simulation Software)
- 2016-08-04 10:55:15下载
- 积分:1
-
fft
说明: 实现快速离散傅里叶变换,即FFT,很有用的程序(Fast discrete Fourier transform, namely, FFT, very useful program)
- 2008-10-31 13:46:14下载
- 积分:1