登录
首页 » Visual C++ » KMEANS

KMEANS

于 2013-01-05 发布 文件大小:3KB
0 300
下载积分: 1 下载次数: 2

代码说明:

  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 (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 )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CG_DESCENT-C-2.0.tar
    共轭梯度法求解凸二次规划,代码由C语言开发,老外编写的程序,很值得一读。(Conjugate gradient method for solving convex quadratic programming, code generated by C language development, foreigners prepared program, it is worth reading.)
    2020-06-28 20:00:01下载
    积分:1
  • matrix-multiplication-and-inverse
    这是用C++做矩阵求逆和矩阵相乘,可以解简的线性方程。已验证,互相交流~(This is done using C++ matrix inversion and matrix multiplication, linear equations can be solved。)
    2014-03-25 11:24:24下载
    积分:1
  • KZK
    求解KZK方程的VISUAL C++源代码 具有计算速度快,计算精度高等优点。(source code solution of KZK equation visual c++)
    2021-05-13 10:30:02下载
    积分:1
  • mabExpress_src
    任意数学表达式计算的源码及测试软件 (Calculation of arbitrary mathematical expression of the source code and test software)
    2009-04-12 22:26:39下载
    积分:1
  • EECCl
    椭圆曲线密码体制中的ECC校验验算法分析和程序实现可直接使用。 (The inspection algorithm analysis and procedures of the elliptic curve cryptosystem ECC can be used directly.)
    2012-06-07 21:01:20下载
    积分:1
  • shipinfenxi
    frft程序函数,分数阶傅立叶变换,短时傅立叶变换,傅立叶变换(the frft program function, fractional Fourier transform, short-time Fourier transform, Fourier transform)
    2013-05-14 11:42:20下载
    积分:1
  • xb
    说明:  fluent中作液体蒸发相变的udf,非常专业,证明可行(fluent in the evaporation of liquid phase transition for udf, very professional, proved to be feasible)
    2014-04-07 10:53:26下载
    积分:1
  • MCZTFFT
    说明:  CZT和FFT的C语言实现代码,能有效滤除谐波,噪声。获得信号的频率,是一种良好的频率测量算法。(CZT and FFT of the C language code, can effectively filter out harmonics and noise. Access to the signal frequency, is a good algorithm for frequency measurement.)
    2020-11-19 19:29:38下载
    积分:1
  • DFP
    DFP法求优化问题的C++源代码,经测试,该程序运行正常,得到了预期的结果。(DFP method for the optimization of C++ source code, tested, the program works correctly to get the desired results.)
    2011-11-19 14:07:21下载
    积分:1
  • fft13
    fft code in visual c++
    2011-07-16 22:23:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载