登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • fft
    FFT快速傅里叶变换,用于数字信号处理,大大提高了运行速度,节省内存开销。C语言实现(FFT fast Fourier transform for digital signal processing, greatly improving the speed and save memory overhead. C language)
    2011-05-30 00:54:58下载
    积分:1
  • 764
    多物理场耦合软件采用有限元方法模拟表面等离子体激元,适合入门学习者(Multi-physics coupling software using the finite element method to simulate the surface plasmon, suitable for entry-learners)
    2012-09-14 00:14:22下载
    积分:1
  • wogefasuanli
    涡格法计算机翼的涡强,对不同剖面形状,拱度等进行了比较分析。并且与书籍上对比(Vortex lattice method the computer wing of the vortex is strong, the shape of different profiles, such as camber, a comparative analysis.)
    2011-07-10 20:40:16下载
    积分:1
  • VISCOSITY
    fluent中用于修改湍流粘度系数的自定义函数(udf to modify turbulence viscosity coefficient in fluent)
    2020-12-23 15:19:08下载
    积分: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
  • Least-squares-linear
    可进行最小二乘法线性拟合输出,包含源代码及生成后的程序(Least-squares linear fit can be output)
    2013-10-24 14:21:45下载
    积分:1
  • vf-udf
    膜渗透 FUENT UDF 气液两相流 (Gas-liquid two-phase flow membrane permeation FUENT UDF)
    2020-12-01 16:09:26下载
    积分:1
  • Computational-Science-codes
    开发环境没有可选项,fortran90,Fortran_90_and_Computational_Science-_codes(Computational Science codes by fortran90 )
    2013-10-10 17:07:12下载
    积分:1
  • KMP-string-match
    编写一个使用KMP算法的字符串匹配程序。 使用方法:字符串匹配.exe -f xxx.txt -s xxx -f 指定要查找的文件 -s 指定要查找的字符串(Writing a string matching algorithm using KMP program. How to use: string matching exe-f xxx.txt-s xxx-f to specify the file you want to find-s to specify the search string)
    2013-12-08 01:12:46下载
    积分:1
  • catch
    用于求解线性方程组的追赶法!!!程序经过优化处理,运行速度快,且注释完全易于阅读,欢迎大家下载!!(Solving linear equations for the law to catch up! ! ! Optimized procedures to deal with, fast, and completely easy-to-read notes, welcome you to download! !)
    2009-05-16 11:56:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载