登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • jiadianji
    基于vc++6.0的佳点集遗传算法的编程,里面的各项参数均可由使用者自我调整!(Vc++6.0 based on the good point set genetic algorithm programming, which the parameters can be adjusted by the users themselves!)
    2010-11-29 14:44:35下载
    积分:1
  • SHENGXUE_BEM
    求解声学问题的边界元程序,给声学研究的人员很大启发(Solving the problem of acoustic boundary element program, to inspire great acoustic research staff)
    2011-07-27 06:37:38下载
    积分:1
  • nsga2
    多目标遗传算法,求得pareto最优解集,可以用于各种工程的数学计算(Multi-objective genetic algorithm, pareto optimal solution set is obtained, can be used for a variety of engineering mathematics)
    2016-05-13 15:06:06下载
    积分:1
  • multiplication-table
    只是一个课堂上做的九九乘法表,可能很多人做过(Just a class to do multiplication table, many people may have done)
    2011-10-21 19:43:24下载
    积分:1
  • PID自动控制电机转速
    利用pid算法控制电机转速,转速可调,数码管显示,初学者实用(Using PID algorithm to control motor speed, adjustable speed, digital display, beginners practical)
    2020-06-22 16:00:01下载
    积分:1
  • 4zeyunsuan
    复数的四则运算完整版,包括加减乘除,阶乘,开方等。。。(The plural arithmetic full version,, including addition, subtraction, multiplication, and division factorial, prescribing, etc...)
    2013-10-11 16:41:48下载
    积分:1
  • sijielonggekutafa
    四阶龙格库塔法 数值计算 C++源码 可直接运行(Fourth-order Runge-Kutta numerical method C++ source code can be run directly)
    2015-10-28 19:59:24下载
    积分:1
  • 2_Brusselator_Heun_period_boundary
    经典非线性动力学模型,布鲁塞尔子模型,可直接运行,运算效率高。(nonlinear dynamics Brusselator model)
    2014-01-18 22:16:57下载
    积分:1
  • LDL
    LDL分解法,用于求解大型的线性方程组。此程序中最多能解100维的,速度还不错(LDL decomposition method for solving large-scale linear equations. This procedure can be up to 100 peacekeepers solutions, speed is not bad.)
    2020-06-30 07:40:02下载
    积分:1
  • 最优化作业C++源代码
    用C++编的一些最优化作业中的程序,有Newton法,DFP法,共轭梯度法,单纯形法,内点法,外点法,内外点法,都能使用,我已经全部调试过了(C compile some of the most optimized operating procedures, Newton, DFP, conjugate gradient method, the simplex method, interior point method, the points outside the law, outside point method can use, I have all over Debugging)
    2021-03-29 10:49:11下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载