登录
首页 » Visual C++ » KMEANS

KMEANS

于 2013-01-05 发布 文件大小:3KB
0 230
下载积分: 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 个回复

  • 19864062MatrixOper
    对于协方差矩阵的一种计算方法,对于地震中的反演约束算法能起到很好的作用。(For a kind of covariance matrix calculation method)
    2011-05-30 13:43:06下载
    积分:1
  • AirbornePointEcho
    C语言版,机载SAR回波仿真程序,附有FFT和复数库,以及位图显示模块。本程序注释详解,对加深SAR的理解有很好的帮助(C language version, airborne SAR echo simulation program with FFT and complex database, as well as bitmap display module. Detailed notes of this procedure, for deepening the understanding of SAR has a good assist)
    2020-07-04 05:40:02下载
    积分:1
  • wedg140
    fortran程序,计算应力强度因子和特征值和特征向量,研究多种材料接触(fortran program)
    2014-09-22 10:47:40下载
    积分:1
  • Gauss
    数值分析中用C 语言验证验证Gauss列主元消去法。(Numerical analysis using the C language to verify verify the Gauss column principal component elimination.)
    2013-03-25 21:11:32下载
    积分:1
  • ART2100
    一种借助lowtran7计算大气透过率和目标辐射的软件平台ART2100(A program that used for calculate air transferrate and object randience based on lowtran7)
    2021-05-07 16:49:36下载
    积分:1
  • QR-decomposition
    QR分解法是目前求一般矩阵全部特征值的最有效并广泛应用的方法,一般矩阵先经过正交相似变化成为Hessenberg矩阵,然后再应用QR方法求特征值和特征向量。它是将矩阵分解成一个正规正交矩阵Q与上三角形矩阵R,所以称为QR分解法,(QR decomposition )
    2020-08-31 01:08:10下载
    积分:1
  • jiadianji
    基于vc++6.0的佳点集遗传算法的编程,里面的各项参数均可由使用者自我调整!(Vc++6.0 based on the good point set genetic algorithm programming, which the parameters can be adjusted by the users themselves!)
    2010-11-29 14:44:35下载
    积分:1
  • CPPsimplex
    单纯形法,求解线性规划问题的通用方法。单纯形是美国数学家G.B.丹齐克于1947年首先提出来的。它的理论根据是:线性规划问题的可行域是 n维向量空间Rn中的多面凸集,其最优值如果存在必在该凸集的某顶点处达到。顶点所对应的可行解称为基本可行解。单纯形法的基本思想是:先找出一个基本可行解,对它进行鉴别,看是否是最优解;若不是,则按照一定法则转换到另一改进的基本可行解,再鉴别;若仍不是,则再转换,按此重复进行。因基本可行解的个数有限,故经有限次转换必能得出问题的最优解。如果问题无最优解也可用此法判别。 (Simplex method for the minimum)
    2011-09-18 22:57:30下载
    积分:1
  • UU
    说明:  c++语言求解稀疏矩阵方程组的ICCG法源程序。参考:《工程电磁场数值计算分析与综合》 附录(Fortran90).(c++ solves sparse matrix equations with the ICCG method.Reference: &quot Analysis and Synthesis of Numerical Electromagnetic Field ,&quot Appendix (Fortran90).)
    2010-06-08 18:53:07下载
    积分:1
  • ca713
    信号维数的估计,计算一维光子晶体的透射特性和反射特性,小波包分析提取振动信号中的特征频率。( Signal dimension estimates, Calculated transmission characteristics and reflection characteristics of the one-dimensional photonic crystals, Wavelet packet analysis to extract vibration signal characteristic frequency.)
    2017-04-19 09:47:37下载
    积分:1
  • 696518资源总数
  • 105714会员总数
  • 27今日下载