登录
首页 » Visual C++ » KMEANS

KMEANS

于 2013-01-05 发布 文件大小:3KB
0 295
下载积分: 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++源代码
    用C++编的一些最优化作业中的程序,有Newton法,DFP法,共轭梯度法,单纯形法,内点法,外点法,内外点法,都能使用,我已经全部调试过了(C compile some of the most optimized operating procedures, Newton, DFP, conjugate gradient method, the simplex method, interior point method, the points outside the law, outside point method can use, I have all over Debugging)
    2021-03-29 10:49:11下载
    积分:1
  • radix--4-butterfly-DIF_FFT
    我自己用c语言写的64点基4FFT算法,在visual c++ 6.0环境下编译通过。同matlab结果一致。(My own use C language to write the 64 based 4FFT algorithm, in visual c++ 6 compiler environment through. Results consistent with matlab.)
    2020-12-19 01:39:09下载
    积分:1
  • jifen
    各种数值积分,龙贝格积分。反常积分。高斯积分。三重积分。(Various numerical integration Romberg integration. Improper integrals. Gaussian integral. Triple integral.)
    2012-12-02 15:54:40下载
    积分:1
  • naturePoly
    在Z2[X]中判断一个多项式是否本原多项式,并能对给定的多项式求逆。 (in Z2 [X] to judge whether a polynomial primitive polynomial, and the right to the inverse polynomials.)
    2007-05-21 14:57:08下载
    积分:1
  • Magic
    幻方 (magic cube )
    2010-06-05 15:08:54下载
    积分:1
  • qiuni
    C语言矩阵求逆模块,输入矩阵调用此模块即可求出对应的逆矩阵(C language matrix inversion module)
    2013-12-16 21:18:18下载
    积分:1
  • ThreeSpline
    数值分析中三次样条插值算法,运行稳定,并能画出最后的插值曲线(Numerical Analysis of cubic spline interpolation algorithm, running stability, and can draw the final curve interpolation)
    2020-12-10 16:39:18下载
    积分:1
  • boykov_kolmogorov_max_flow.cpp
    Maximum Flow Graph (Boykov Kolmogorov Algorithm)
    2013-10-09 03:12:32下载
    积分:1
  • 2DPE_VCPP6.0
    抛物方程是由赫姆霍兹方程推导而来,在计算大区域电磁传播有较大的优势,本程序是二维的情况。(Parabolic equation is derived the Herm Holtz equation, in the calculation of large areas of electromagnetic propagation has a greater advantage, the program is a two-dimensional situation.)
    2016-11-20 12:32:02下载
    积分:1
  • Calculator
    Visual C++6.0 实现的多功能计算器(Visual C++6.0 achieve the multi-function calculator)
    2012-05-29 15:50:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载