登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • juzhenhanshu
    传输矩阵法用于计算光纤光栅的有效折射率,是一种经典的数学算法(Matrix function)
    2013-09-23 13:48:14下载
    积分:1
  • synthesis-of-mechanism
    对于给定的一组轨迹点,用优化方法实现铰链四杆机构轨迹复演。优化方法为共轭梯度法。(For a set of track points,we use a optimization method to optimize the track of Hinge four-bar mechanism. The optimization method is conjugate gradient.)
    2011-06-23 15:42:20下载
    积分:1
  • fft
    一个短时傅里叶变换的C语言实现,对3万个数据进行加窗、FFT处理(A short time Fourier transform of C language, for 30,000 data windowing, FFT processing)
    2020-08-15 18:58:26下载
    积分:1
  • Romberg
    数值分析,即计算方法课程中的龙贝格算法源代码。(Numerical analysis, calculation of the Romberg algorithm source code in the methods courses.)
    2012-05-30 22:54:48下载
    积分:1
  • SMM
    说明:  几种模幂算法,有传统模幂,SMM模幂,基于2的K次方的模幂和最一般的模幂算法,还有为这些模幂算法建立的WINDOWS对话框。可以方便的运行。(algorithm, the traditional mode power, SMM Modular Power, Based on two of the K-th power module and the most common mode power algorithm, These modules also for the establishment of the algorithm Power Windows dialog box. To facilitate the operation.)
    2006-04-27 22:49:38下载
    积分:1
  • 常微分方程值解法
    常微分方程数值解法,又是一个数值分析的常用算法(Numerical Solution of ordinary differential equations, numerical analysis is a common algorithm)
    2005-01-31 22:13:30下载
    积分:1
  • saolei
    实现扫雷功能,基于c语言实现的,能够控制输入矩阵的大小(Implement demining capabilities, based on the c language, able to control the size of the input matrix)
    2013-06-25 14:29:31下载
    积分:1
  • 层次分析法的VB应用软件 AHP
    层次分析法的VB应用软件,可以实现层次分析法的实例计算。(AHP VB)
    2012-01-08 19:32:38下载
    积分:1
  • computing-theory-introduction
    《计算理论导引》(作者)[美] Michael Sipser(译者)张立昂 王捍贫 黄雄 机械工业2000年2月第1版.pdf(Computational Theory,(Author) [America] Michael Sipser (translator) Zhang Li Ang Wang Hanpin Wong Hung Machinery Industry in February 2000 1st edition. Pdf)
    2013-09-09 21:01:11下载
    积分:1
  • zantaifenxi
    非常实用的时域仿真法暂态分析工具,利用牛顿法求解系统的微分方程组和代数方程组,得到转子摇摆曲线,判断暂态是否稳定(Very useful time-domain simulation tool for transient analysis method, using Newton method for solving systems of differential equations and algebraic equations, the rotor swing curves, to determine the stability of transient)
    2011-09-02 14:48:18下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载