登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • FFT842
    基二、基四、基八 FFT变化源代码,有详细注解(Second base, the base four or eight FFT-based changes in the source code, detailed comments)
    2021-02-20 14:09:43下载
    积分:1
  • cgmotion
    fluent udf的动网格程序,实现了刚体和基于节点的运动(cg-motion grid motion)
    2020-11-20 09:39:37下载
    积分:1
  • CalcActivationCode
    岩土数值模拟计算的程序,可以用来计算边坡、岩石稳定性。(Numerical simulation of geotechnical calculation program can be used to calculate the slope, rock stability.)
    2015-08-17 12:25:56下载
    积分:1
  • Computational-Science-codes
    开发环境没有可选项,fortran90,Fortran_90_and_Computational_Science-_codes(Computational Science codes by fortran90 )
    2013-10-10 17:07:12下载
    积分: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
  • 3107002005_5th_spline
    说明:  曲线的三次样条插值,在非首尾节点处具有三次光滑性质(Curve cubic spline interpolation, in both nodes with non-smooth nature of the three)
    2008-10-27 11:07:08下载
    积分:1
  • KZK
    求解KZK方程的VISUAL C++源代码 具有计算速度快,计算精度高等优点。(source code solution of KZK equation visual c++)
    2021-05-13 10:30:02下载
    积分:1
  • SVMPrediction
    支持向量基预测的小数据量的预测方法。包括数据拟合,多项式预测等功能()
    2008-03-08 13:58:11下载
    积分:1
  • digital5
    数值计算的算法,采用c++实现,移植容易,一定能够用。(Data processing)
    2010-12-23 06:01:07下载
    积分:1
  • 禁忌法 C++
     禁忌搜索算法是一种全局性邻域搜索算法,模拟人类具有记忆功能的寻优特征。它通过局部邻域搜索机制和相应的禁忌准则来避免迂回搜索,并通过破禁水平来释放一些被禁忌的优良状态,进而保证多样化的有效探索,以最终实现全局优化(Tabu search algorithm)
    2018-04-13 09:03:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载