登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • PID自动控制电机转速
    利用pid算法控制电机转速,转速可调,数码管显示,初学者实用(Using PID algorithm to control motor speed, adjustable speed, digital display, beginners practical)
    2020-06-22 16:00:01下载
    积分:1
  • Rcellsse
    读入红细胞图片,通过中值滤波,开运算算,闭运算,和贴标签等方法获得细胞个数 (Read into the red blood cell picture, opening operation count median filtering, and closing operation, and the labeling methods such as cell number)
    2012-07-28 23:59:33下载
    积分:1
  • brick
    有限元n维实体材料单元,仅供科研用途,拒绝商业使用(N-dimensional finite element solid material element, for scientific purposes, refusing commercial use)
    2013-10-23 14:32:13下载
    积分:1
  • 2DUDFSTOKES
    该程序为fluent软件进行速度入口造波数值模拟,波浪为二阶stokes波(The program for the FLUENT software simulation of wave speed entrance numerical, two order Stokes wave)
    2014-07-11 15:40:02下载
    积分:1
  • gcmjjs
    这是考虑了高程的面积计算公式,VB编的程序,运行即可(This is the old area of the elevation calculation formula, the program can be run VB series)
    2012-05-06 14:53:06下载
    积分:1
  • cpml
    三维PML-FDTD的C语言代码,完全匹配层的C语言实现(3D PML-FDTD in the C language code, perfectly matched layer in C language)
    2010-06-11 14:28:04下载
    积分:1
  • Gravity-anomaly
    计算重力异常,只需要输入最大重力场模型的最大阶数以及重力场模型文件名在程序里设置经纬度范围和间隔即可得到重力异常(Gravity anomaly)
    2013-06-13 14:46:49下载
    积分:1
  • 高斯
    给出了高斯消元的代码,和程序页面,方便快捷(The code and program page of Gauss elimination are given, which is convenient and quick.)
    2018-11-19 19:25:26下载
    积分:1
  • for
    采用离散的数值方法,通过坐标转换并生成贴体网格系统,计算轴对称喷管流场(Discrete numerical methods, through coordinate transformation and generate body-fitted grid system, calculating axisymmetric nozzle flow)
    2021-02-03 23:29:58下载
    积分:1
  • shuzhifenxi
    北京航空航天大学硕士研究生数值分析课的第一次大作业,用幂法反幂法求取矩阵的最大最小特征值(Minimum and maximum eigenvalue of the first graduate of Beijing University of Aeronautics and Astronautics numerical analysis class job, using the power method matrix inverse power law to strike)
    2012-12-05 22:07:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载