登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • 21
    说明:  用C语言编写多元线性回归方程,写得不好的地方请指教!(Using C language multiple linear regression equation, where poorly written, please advice!)
    2010-06-06 17:04:50下载
    积分:1
  • Tin_Method
    离散数据生成tin的优秀代码,注释多,易于学习和移植(Discrete data generated tin excellent code, comments, easy to learn and transplantation)
    2012-05-18 13:12:23下载
    积分:1
  • mg
    说明:  迭代算法中的多重网格计算程序Visual C++原代码(iterative algorithm of multiple grid computing procedures Visual C source code)
    2007-03-31 10:11:48下载
    积分:1
  • tianwen
    说明:  VC实现,天文导航算法及实现 包括数据的获取、加工、处理、保存为文件(VC, astronomy, navigation algorithm and implementation including data acquisition, processing, handling, preservation of documents)
    2020-09-29 16:17:44下载
    积分:1
  • numerical-analysis
    高斯-塞德尔迭代、拉格朗日差值、牛顿法、四阶龙格库塔 与数值分析有关的公式(Gauss- Seidel iteration)
    2013-07-01 14:45:14下载
    积分:1
  • oofem-1.7.tar
    c++的有限元源码,带说明书和测试数据,是难得的有限元开发资料.(This is the code of finite element method, with manual document and data samples, it is valusble for FEM development)
    2009-04-25 13:59:51下载
    积分:1
  • LS_SVMlab
    LS_SVM 偏最小二乘结合支持向量机(The LS SVM partial least squares and Support Vector Machine)
    2012-11-22 10:08:51下载
    积分:1
  • interpolation
    说明:  Neville插值算法,xa为自变量数组,xy为因变量数组;x为待插值的自变量(Neville interpolation algorithm, xa array as variables, xy array as the dependent variable x for the independent variables to be interpolated)
    2008-09-25 16:29:52下载
    积分:1
  • rcwa-2d_7_12_2012
    严格的衍射积分计算,实现光栅结构透过反射场2维分布的严格解计算,利用散射积分对耦合模方程进行严格计算解 衍射,光栅,场,二维,积分,散射矩阵,耦合模理论(Strict calculation of the diffraction integral, the grating structure is realized through the rigorous solution of the 2 dimensional distribution of the reflection field. Diffraction, grating, field, two-dimensional, integral, scattering matrix, coupled mode theory)
    2021-02-07 20:49:55下载
    积分:1
  • clusterinquest
    cluster in quest聚类算法是基于密度和网格的聚类算法。对于大型数据库的高维数据聚类集合。(cluster in quest clustering algorithm is based on the density of the grid and clustering algorithm. For large database of high-dimensional data clustering pool.)
    2006-12-08 21:13:15下载
    积分:1
  • 696518资源总数
  • 104384会员总数
  • 26今日下载