登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • gcmjjs
    这是考虑了高程的面积计算公式,VB编的程序,运行即可(This is the old area of the elevation calculation formula, the program can be run VB series)
    2012-05-06 14:53:06下载
    积分:1
  • readdxf
    fortran编写的读取dxf程序,可读取圆,多线段,直线,点,块参照,文字的坐标高程信息(write by fortran ,it can read dxf program, can read a round, multi line, linear, point, block reference, the coordinates of elevation information text)
    2012-01-18 14:41:08下载
    积分:1
  • GCMC
    巨正则系综蒙特卡罗算法的源程序;可以用来进行吸附等分子模拟;最大的好处在于可以插入或删除原子(Grand canonical ensemble Monte Carlo algorithm source can be used for adsorption, molecular simulation biggest advantage is that you can insert or delete atom)
    2008-06-09 14:45:03下载
    积分:1
  • 2005121420740774
    用于计算学分绩,是大学实行学分制后比较实用的一个软件(used in the calculation of the credit performance of college credit system after a more practical software)
    2006-06-04 01:21:56下载
    积分:1
  • shuzhijisuan
    数值计算实例,主要有LU分解,龙格库塔法,高斯分解法,欧拉法,曲线拟合,曲线插值(Numerical example)
    2014-01-03 10:38:53下载
    积分:1
  • p2mesh
    划分网格一个开源的库,有限元的算法,很好用(Meshing an open source library = for finite element)
    2013-07-22 15:34:38下载
    积分:1
  • matrix
    C++中矩阵运算的实现 nr3.h为其他的书籍代码,测试环境为VS2008(Achieve C++ in matrix operations nr3 code for other books)
    2014-10-16 10:25:43下载
    积分: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
  • 82859165cifa
    编程序,按如下要求来求解n元一次线性方程组(假设方程组具有唯一解)。 (1)方程个数n之值由用户通过键盘输入; (2)方程组存放在“增广矩阵”A之中,而n行n+1列的A存储空间通过new来动态分配,且A的各元素值也由用户通过键盘输入 (Allocation procedures, the following requirements to solve the n-a system of linear equations (assuming a unique solution of equations). (1) the number n of the value equation by the user through the keyboard input (2) equations stored in the augmented matrix A, while n line n+ 1 column A storage space through the new dynamically allocated, and A The value of each element by the user through the keyboard input)
    2011-06-21 22:50:34下载
    积分:1
  • fluid-1
    气泡上浮实验,基于fluent的二维模型(Bubble Floating Experiment)
    2019-03-28 21:16:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载