登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • cdq.rar
    基于时间序列法的超短期电力负荷预测 利用时间序列法进行数学建模(Mathematical modeling based on very short-term power load time series forecasting using time series method)
    2021-04-29 11:08:43下载
    积分:1
  • ooptest
    C++实现的FFT,详细,简单,内含多个测试类(using C++ implements fft,including serials class)
    2013-12-12 23:22:05下载
    积分:1
  • AR
    说明:  fluent模拟焊接的udf源文件 fluent模拟焊接的udf源文件(udf source file fluent fluent simulate welding simulation welding udf source file)
    2013-03-25 09:58:22下载
    积分:1
  • 1
    说明:  本书用c语言编写了科研和工程中最常用的166个算法,这些算法包括复数 运算、... 4.3.1 【算法23】求一般复矩阵的逆 4.3.2 【算法24】求对称正定矩阵的(good study)
    2013-11-06 21:28:17下载
    积分:1
  • water-drop-vof
    用Fluent VOF模型模拟单个小水滴落入盛水的水杯之中(Fluent VOF model simulations using a single drop falling into a water glass)
    2021-04-01 22:19:07下载
    积分:1
  • kalman
    实现卡尔曼滤波算法,可以进行参数估计、插值、滤波和预报(The Kalman filter algorithm, parameter estimation, interpolation, filtering and prediction)
    2012-12-27 19:24:51下载
    积分:1
  • FDTD_computational_electromagnetics
    很有用的一篇国外关于FDTD算法的学术论文,相信对初学者有很大帮助(Useful in a foreign academic papers on the FDTD method, I believe very helpful for beginners)
    2010-05-24 23:50:03下载
    积分:1
  • matrix-multiplication-and-inverse
    这是用C++做矩阵求逆和矩阵相乘,可以解简的线性方程。已验证,互相交流~(This is done using C++ matrix inversion and matrix multiplication, linear equations can be solved。)
    2014-03-25 11:24:24下载
    积分:1
  • jifen
    分别用梯形法和矩形法求定积分,附加应用实例(, Respectively, with the trapezoidal method and the rectangle method to find definite integrals, additional application examples)
    2012-11-28 22:16:59下载
    积分:1
  • UDFlizi
    基于FLUENT软件的一些常用UDF实例,比较有帮助(udf example)
    2015-10-20 15:56:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载