登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • kemodel
    一个对Fluent中k-e湍流模型的修正udf程序,c语言(One pair ke turbulence model in Fluent udf amendment procedures)
    2021-01-02 15:38:57下载
    积分:1
  • oofem-2.0.tar
    最新版的oofem 可以自己加入一些材料模型 版本更新速度也算快(latest version of oofem )
    2011-02-14 16:40:16下载
    积分:1
  • 24
    说明:  给定四个数(1--13),判经过四则运算后能否得到结果24,若能,输出表达式。 (Given the number four (1- 13), after sub after four computing results can be 24, if the output expression.)
    2008-01-03 22:19:45下载
    积分:1
  • UDF
    一些简单的UDF文件,实现流场中梯度和某一点压力的检测提取(Some UDF profiles)
    2015-06-13 07:28:49下载
    积分:1
  • PolyFractionValu
    本程序提供大量实用多项式计算函数:求一维实(复)多项式值、求一维多项式组值、求二维实(复)多项式值、两一维多项式相乘、两一维多项式除法、计算连分式函数值。(look it yourself.)
    2021-02-19 10:19:44下载
    积分:1
  • zuiyouhuasuanfa
    包括牛顿法,阻尼牛顿法,变尺度算法,最速下降法的优化算法程序。(Newton' s method, damped Newton method, variable metric algorithm, the steepest descent method optimization algorithm.)
    2013-03-24 15:51:53下载
    积分:1
  • zuixiaojiaocha
    偏最小二乘法中的交叉有效性计算,看看,可能有用(PLS cross-validity of the calculation, see, may be useful)
    2008-05-13 21:14:08下载
    积分:1
  • NHMT
    说明:  埃特金不等距插值,有例子,检验过,很顺利(Aitken non-equidistant interpolation, there are examples of tests, it is smooth)
    2008-11-30 19:02:40下载
    积分:1
  • shiyan4
    若矩阵A中的某一元素A[i,j]是第i行中的最小值,而又是第j列中的最大值,则称A[i,j]为矩阵A中的一个鞍点。请写出一个可确定此鞍点位置的算法(如果这个鞍点存在)。(If the matrix A, an element A [i, j] is the minimum value in the i-th row, but is the maximum value of the j-th column, then A [i, j] for the matrix A is a saddle point. Please write a algorithm to determine the position of saddle point (saddle point exists).)
    2013-01-07 13:16:11下载
    积分:1
  • signalpro
    说明:  在学习数字信号处理算法程序中用VC编写的几个通用算法程序。 卷积计算/DFT与FFT实现/(In the learning process of digital signal processing algorithms using VC General Algorithm for the preparation of several procedures. Convolution calculation/DFT and FFT realization /)
    2021-02-15 09:49:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载