登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • zuijinercheng
    基于C环境下的最小二乘法的计算编程算法相当相当实用。(C based on the circumstances of the least squares algorithm for calculating the programming very well.)
    2009-05-12 23:42:37下载
    积分:1
  • udf-RPE
    fluent 改进的全空化模型,针对可压缩流,内有声速处理(fluent improved full cavitation model for compressible flow, there are the speed of sound processing)
    2021-03-02 16:59:33下载
    积分:1
  • grid
    一个简单的网格生成程序,操作方便,易学,类似于easymesh!(A simple grid generation program, easy to operate, easy to learn, like easymesh!)
    2011-08-23 20:02:51下载
    积分:1
  • spline
    样条插值算法的matlab代码,包括一次样条插值,二次样条插值和三次样条插值,可根据需要选择(Spline interpolation algorithm matlab code, including a spline interpolation, quadratic spline interpolation and cubic spline interpolation, can be selected)
    2020-12-23 20:49:06下载
    积分:1
  • UDF-sa
    FLUENT里面改进的SA湍流模型,为UDF文件,可以进行链接编译计算(FLUENT which improved SA turbulence model for the UDF file can be compiled to calculate the link)
    2021-01-02 15:18:57下载
    积分:1
  • mathmatics_of_computer
    C++实现的数值分析算法包括: 二分法.cpp 复化辛卜生公式.cpp 改进欧拉法.cpp 高斯-赛德尔迭代法.cpp 拉格郎日插值多项式.c(C achieve the numerical analysis algorithms include : dichotomy. cpp Minute of Oracle Health formula. cpp Improved Euler method. cpp Gauss- Seidel iterative method. cpp Lagrange polynomial interpolation. c)
    2006-11-18 17:20:47下载
    积分:1
  • vc
    说明:  这是高斯列主元消去法的完整程序,可以求解线性方程组(This is the Gaussian elimination method PCA out a complete program, you can solve the linear equations)
    2014-10-25 18:45:15下载
    积分:1
  • wedg140
    fortran程序,计算应力强度因子和特征值和特征向量,研究多种材料接触(fortran program)
    2014-09-22 10:47:40下载
    积分:1
  • jisuanfangfa
    合工大大二计算方法实验的源代码,里面有实验指导书.有牛顿下山,迭代啊什么的(Sophomore calculation experiment source code, which has experimental guide books)
    2010-06-19 14:42:44下载
    积分:1
  • floorplanning-and-route
    Floor planning and route
    2014-03-04 05:33:40下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载