登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • erfenfa
    二分法,用于多项式求解,迭代12次能达到很高的精度(Dichotomy for polynomial solving, iterative 12 times to achieve high precision)
    2008-01-25 19:58:10下载
    积分:1
  • raytracer111
    电磁场与微波技术下的射线追踪技术。应用c语言编程(Electromagnetic Field and Microwave Technology under the ray tracing technique. Application c programming language)
    2013-06-02 20:32:24下载
    积分:1
  • boble
    改进的冒泡排序的VC++源程序,希望大家能够从中受益!(improved Bubble Sort VC source, we hope to benefit from!)
    2006-06-29 10:33:36下载
    积分:1
  • -recursive-
    天线组阵中相位差的递推最小二乘估计与滤波(Phase array antenna group recursive least squares estimation and filtering)
    2013-12-20 13:17:48下载
    积分:1
  • sanzhuyuan
    平面波展开法计算二维三组元周期结构的带隙特性。(Plane wave expansion method for calculation of two dimensional three groups yuan cycle structure of the band gap characteristic)
    2021-04-17 17:08:52下载
    积分:1
  • Root_Loci
    根轨迹文件 多刚体动力学 方程 根分布 稳定分析 (Root locus document root distribution multibody dynamics equations stability analysis)
    2014-09-21 21:13:28下载
    积分:1
  • Project10
    采用数值分析课程中的插值逼近以及曲面拟合方法来估算复杂的函数表达式。(Interpolation approximations and surface fitting methods are used in the numerical analysis course to estimate complex function expressions.)
    2016-12-20 10:08:03下载
    积分:1
  • tanxingbojiaocuowangge
    本程序可以实现在交错网格条件下的三维有限差分正演模拟(This procedure can be achieved under the conditions of the staggered grid finite difference forward modeling)
    2015-10-10 14:57:16下载
    积分:1
  • css
    用visual basic编译的布谷鸟算法的源代码,是一种很好地启发式智能算法。(Use visual basic compiler cuckoo algorithm source code, is a good heuristic intelligent algorithm. )
    2013-07-19 17:02:51下载
    积分:1
  • 4zeyunsuan
    复数的四则运算完整版,包括加减乘除,阶乘,开方等。。。(The plural arithmetic full version,, including addition, subtraction, multiplication, and division factorial, prescribing, etc...)
    2013-10-11 16:41:48下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 31今日下载