登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • Pointandsegment
    判断点和线段之间的关系,包括点在线段的上,点在线段的延长线,反向延长线,点在线段外四种情况(Judge the relationship between the point and line, including the point on the line, in line at the extension of reverse extension cord, and so on.)
    2013-01-08 14:54:18下载
    积分:1
  • sijielonggekutafa
    四阶龙格库塔法 数值计算 C++源码 可直接运行(Fourth-order Runge-Kutta numerical method C++ source code can be run directly)
    2015-10-28 19:59:24下载
    积分:1
  • HertzMindlin_supporting_files
    edem接触程序,用于计算各种模型的接触力(edem modle)
    2021-03-26 16:19:13下载
    积分:1
  • C
    说明:  含随机出题(四则运算)及其迭代程序、返回数组中最大子数组和及其迭代程序等。(Software class operations, including four operations and iterative procedure, returns an array of sub-arrays and the largest and Iterative procedures)
    2016-07-01 08:32:22下载
    积分:1
  • drop
    使用fluent udf编程,实现水滴在空气中的运动描述。(Use fluent udf programming, to achieve the movement of water droplet in the air.)
    2014-06-13 14:27:10下载
    积分:1
  • rili
    计算日期时间,可以显示不同颜色,主要用以计算上班日期,换班日期,十分方便。(Daliy Calc)
    2015-05-04 13:37:15下载
    积分:1
  • zuiyouhuasuanfa
    包括牛顿法,阻尼牛顿法,变尺度算法,最速下降法的优化算法程序。(Newton' s method, damped Newton method, variable metric algorithm, the steepest descent method optimization algorithm.)
    2013-03-24 15:51:53下载
    积分:1
  • calculator
    用mfc实现计算器的基本操作,支持键盘输入,并保留xp风格,可计算平方,幂,时间显示等操作(With mfc achieve the basic operation of the calculator, support for keyboard input, and retain xp style, calculates the square, power, time display and other operations)
    2013-10-23 15:22:24下载
    积分:1
  • digitalfiltercode
    圆周卷积滤波器,可清晰见到实际滤波器的算法(Circular convolution filter, can clearly see that the actual filter algorithm)
    2007-12-10 09:14:25下载
    积分:1
  • fft
    对机械中的振动信号进行傅立叶变换,作出频谱图进行分析。(Fourier transform of the vibration signal)
    2009-10-19 19:01:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载