登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • PE
    说明:  计算潜在蒸发,方法为彭曼法,需要气温、日照、风速等资料,具体详见程序界面(Pe calculation)
    2011-12-02 11:51:02下载
    积分:1
  • supervisedWSD
    利用贝叶斯分类原理实现多义词的消歧。首先利用训练语料进行训练,然后基于机器已经获取的知识的基础上对生语料进行词义标注。(Realize the principle of the use of Bayesian classification polysemous word sense disambiguation. First of all, the use of training corpus for training, and then the machine has been based on knowledge gained on the basis of corpus for semantic tagging of Health.)
    2008-05-15 19:04:24下载
    积分:1
  • boykov_kolmogorov_max_flow.cpp
    Maximum Flow Graph (Boykov Kolmogorov Algorithm)
    2013-10-09 03:12:32下载
    积分:1
  • wolfe
    wolfe程序模块的C++算法,可以重复使用,对于解决一维搜索是很好的..(C++ algorithm wolfe program modules can be reused for solving one-dimensional search is good ..)
    2014-02-25 15:11:57下载
    积分:1
  • Gauss-Seidel-in-C-Program
    高斯-赛德尔迭代法是解线性方程组的常规算法,本文是C语言的高斯-赛德尔计算代码(Gauss-Seidel C program)
    2016-04-08 09:51:43下载
    积分:1
  • lbm
    格子玻尔兹曼模型DnQm系列模型中应用较为广泛的D2Q7模型源代码,用于模拟流体的流动。(The D2Q7 model source code of the the Lattice Boltzmann the model DnQm series model is widely used to simulate fluid flow.)
    2012-10-27 00:03:05下载
    积分:1
  • de_test
    差分进化算法,有测试函数,是遗传算法的改进算法,收敛快,精度高。(Differential evolution algorithm, a test function, is an improved genetic algorithm algorithm, fast convergence, high precision.)
    2017-06-01 19:46:08下载
    积分:1
  • Optimal-solution-back-to-France-0-1
    最优解回溯法0-1问题,为了构造最优解,必须在算法中记录与当前最优值相应的当前最优解。(The optimal solution backtracking 0-1 must be recorded in the algorithm, in order to construct the optimal solution, corresponding to the current optimal value, the current optimal solution.)
    2012-04-11 23:41:56下载
    积分:1
  • LL1 grammer
    vc++实现编译原理中的LL(1)文法的编译过程,非常好用.(vc realization of the principle of compiler LL (1) grammar compiler course, very handy.)
    2005-07-03 21:22:30下载
    积分:1
  • convolution
    稀疏脉冲反褶积代码,包括高尔消元法解矩阵方程阻,自相关,互相关,褶积,反褶积的代码. 刚参加工作那会儿,上进心也足,爱动脑,编了很多的程序,唯有这一个是我引以为傲的,花了几个星期写的稀疏脉冲(预测)反褶积的代码,放到了现在,觉得也没必要再私藏下去了,不出五年,我都不知道这段代码是干什么的了. 希望对大家有用,方法太简单,所以效果不是太好,请大家修改,如要转载,请记得注明出处. (vc++)
    2009-05-09 16:51:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载