登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • C_P
    恒温减压沸腾UDF,一个基于压力计算的水蒸发UDF程序,请大家探讨一下(boiling udf of costant T and decreasing P)
    2011-12-19 11:41:40下载
    积分:1
  • isotermasIII
    Compute isotherms in quad
    2012-05-05 01:36:55下载
    积分:1
  • water
    汪德灌教授那本 计算水力学书后的 perisiman 隐式差分法源代码的 c++版本,我是在fortran代码中改过来的,书中的fortran代码有错误, 请较高人才得以突破 这个东西应该比较有用的吧, 尤其对刚接触这方面知识的 注释很详细哦 而且有输入文件(Professor Wang Deguan that the calculation of hydraulics perisiman after the implicit difference method source code c++ Version, I was changed from fortran code, and the book fortran code error, please talents to break with this higher things you should be more useful, especially for刚接触this regard very detailed knowledge of the Notes and the input file Oh)
    2008-01-10 13:29:29下载
    积分:1
  • dit_fft
    本程序包括:DFT(离散傅里叶变换),FFT(快速傅里叶变换),IFFT(快速傅里叶逆变换),conv(卷积:圆周卷积、线性卷积),主要应用于信号处理,既可以对实序列做上述操作,也可以对复序列。(This process includes: DFT (Discrete Fourier Transform), FFT (fast Fourier transform), IFFT (inverse fast Fourier transform), conv (convolution: circular convolution, linear convolution), mainly used signal processing, either on the actual sequence to do the operation, can also be complex sequence.)
    2010-09-22 21:30:23下载
    积分:1
  • boykov_kolmogorov_max_flow.cpp
    Maximum Flow Graph (Boykov Kolmogorov Algorithm)
    2013-10-09 03:12:32下载
    积分:1
  • CalcActivationCode
    岩土数值模拟计算的程序,可以用来计算边坡、岩石稳定性。(Numerical simulation of geotechnical calculation program can be used to calculate the slope, rock stability.)
    2015-08-17 12:25:56下载
    积分:1
  • cpp
    说明:  你输入一个长方体的长和宽以及高,就可以输出他的面积(input height,width,length,output volume)
    2010-04-11 21:19:10下载
    积分:1
  • aitejin
    艾特金迭代法求解线性方程组源代码,在程序中修改方程就可以(Aitkin iterative method for solving linear equations source code, the equation can be modified in the program)
    2012-06-03 16:08:11下载
    积分: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
  • fft13
    fft code in visual c++
    2011-07-16 22:23:05下载
    积分:1
  • 696516资源总数
  • 106637会员总数
  • 8今日下载