登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • -recursive-
    天线组阵中相位差的递推最小二乘估计与滤波(Phase array antenna group recursive least squares estimation and filtering)
    2013-12-20 13:17:48下载
    积分:1
  • Curve_fitting
    对平面上给定的多点进行多项式曲线的拟合,可设置拟合多项式的次数(Given more points on the plane polynomial curve fitting, you can set the number of polynomial fitting)
    2021-02-14 15:29:49下载
    积分:1
  • suanshubianma
    算术编码是用符号的概率和它的编码间隔两俩个基本参数来描述的。算术编码可以是静态的或是自适应的。(Arithmetic coding to both of two basic parameters to describe the probability of the symbol and its coding interval. Arithmetic coding can be static or adaptive.)
    2012-08-13 03:57:21下载
    积分:1
  • jifen
    各种数值积分,龙贝格积分。反常积分。高斯积分。三重积分。(Various numerical integration Romberg integration. Improper integrals. Gaussian integral. Triple integral.)
    2012-12-02 15:54:40下载
    积分:1
  • Seqanaysiswithkalman
    基于现代时间序列分析方法的多传感器观测融合Kalman滤波器与Wiener滤波器.NH格式论文。(time seq analysis with kalman and winner filter.)
    2010-11-28 13:09:31下载
    积分:1
  • simple
    流体力学SIMPLE算法(C语言编程实现)需自己设定边界条件(SIMPLE algorithm)
    2013-09-06 19:00:42下载
    积分:1
  • areaofcircle
    一圆形游泳池如图所示,现在需在其周围建一圆形过道,并在其四周围上栅栏。 栅栏价格为35元/米,过道造价为20元/平方米。 过道宽度为3米, 游泳池半径由键盘输入。 要求编程计算并输出过道和栅栏的造价。(A circular pool as shown in figure, now in its built around to a circular corridor, and in its 4 around on the fence. The fence for 35 yuan/m price, corridor cost for 20 yuan/square metre. Aisle width is 3 meters, The radius of the swimming pool by keyboard input. Demand and output programming calculation of corridor and the cost of the fence. )
    2012-04-06 11:29:01下载
    积分:1
  • HeatTransfer_1D
    求解一维热传导方程,格式包括FTCS、BTCS、CNCS三种差分格式(solve one dimension heat transfer equation. )
    2021-04-17 16:48:53下载
    积分: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
  • Optimization
    混合储能,风机,光伏,柴油机之间的优化配置的仿真分析程序(Optimize the allocation of mixed storage, wind, solar, diesel between Simulation Software)
    2016-08-04 10:55:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载