登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • Project9
    用于求解超定方程组最小二乘解,稳定性高,速度快(To get the least square solution of superlattice dislocation.)
    2016-12-29 22:41:03下载
    积分:1
  • Program
    矩阵转换问题 行与列的个数均为n 的矩阵称为n 阶方阵。假定矩阵中的每个元素的值在0到9之间,则可以将矩阵中的所有元素按行依次排列得到一个“单行矩阵字符串”。(Matrix conversion, the number of rows and columns of the matrix n are called n-order square. Assume that each element of matrix value in the 0 to 9, you can press all the elements of the matrix rows in order of priority for a " single matrix string." )
    2010-12-28 11:42:08下载
    积分:1
  • seepage-computation
    渗流计算,渗流浸润线的计算,溢出点高程的确定(seepage computation)
    2013-05-07 14:01:12下载
    积分:1
  • UKF
    无迹卡尔曼滤波算法的c语言。网上找到的,貌似是老外编的,蛮不错的。(unscented kalman filter code of visual c.)
    2021-01-05 15:08:54下载
    积分:1
  • KrigingContour
    说明:  克里金、反距离插值算法_栅格图等值线填充等(Kriging, inverse distance interpolation algorithm _ isogram filled grid map, etc.)
    2008-11-19 10:41:37下载
    积分:1
  • NEWTONDIEDAI
    用C++来实现NEWTON迭代法解非线性方程算法数值分析,是数值分析里典型的一个算法。(In C++ to achieve NEWTON iterative numerical algorithm for solving nonlinear equations, numerical analysis is in a typical algorithm.)
    2011-10-09 21:58:54下载
    积分:1
  • SignalProcess
    基于Visual C++的地震信号处理程序源代码,包括常用的FFT和Hilbert变换代码。(Visual C++ based on the seismic signal processing program source code, including the commonly used FFT and Hilbert transform code.)
    2010-05-09 20:34:45下载
    积分:1
  • fit_line
    //最小二乘法直线拟合 m_FoldList为关键点(x,y)的链表 拟合直线方程(Y=kX+b) (//linear least squares fitting m_FoldList as the key point (x, y) of Chain fitting linear equation (Y = C/56 b))
    2005-08-24 04:40:23下载
    积分:1
  • arithmetic
    arithemetic code on visual c++
    2009-12-20 18:53:54下载
    积分:1
  • Complex_operator_overloading
    新建复数类进行复数运算,重载+、=+、*、/等运算符用于复数间的运算。(New complex class complex operation, overloading+ =+,*,/operator for computing the plural.)
    2012-09-08 20:34:31下载
    积分:1
  • 696518资源总数
  • 106235会员总数
  • 12今日下载