登录
首页 » Visual C++ » KMEANS

KMEANS

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

  • ARXRLS
    程序采用C语言,实现最小二乘辨识算法和递推最小二乘算法(Program using C language, least squares identification algorithm and recursive least squares algorithm)
    2012-10-26 13:07:45下载
    积分:1
  • 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
  • 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
  • 1
    本书用c语言编写了科研和工程中最常用的166个算法,这些算法包括复数 运算、... 4.3.1 【算法23】求一般复矩阵的逆 4.3.2 【算法24】求对称正定矩阵的(good study)
    2013-11-06 21:28:17下载
    积分:1
  • Chapter02.Interpolation
    清华大学《数值分析A》-第02章.插值 Lagrange Newton Hermite 三次样条(Tsinghua University, )
    2008-07-16 11:22:14下载
    积分:1
  • isotermasIII
    Compute isotherms in quad
    2012-05-05 01:36:55下载
    积分:1
  • boykov_kolmogorov_max_flow.cpp
    Maximum Flow Graph (Boykov Kolmogorov Algorithm)
    2013-10-09 03:12:32下载
    积分:1
  • 2_Brusselator_Heun_period_boundary
    经典非线性动力学模型,布鲁塞尔子模型,可直接运行,运算效率高。(nonlinear dynamics Brusselator model)
    2014-01-18 22:16:57下载
    积分:1
  • Rectangle
    根据输入的长宽,计算Rectangle面积周长等功能,并画出在txt文件中(Rectangle Create a class Rectangle with attributes length and width, each of which defaults to 1 a. Provide member functions that calculate the perimeter and the area of the rectangle. b. Also provide set and get functions for the length and width attributes. The set functions should verify that length and width are each integer numbers larger than 0 and less than 20. c. Write draw function to display the Rectangle: in Assignment1. ) d. Write a driver program to test class Rectangle.)
    2012-10-24 23:54:51下载
    积分:1
  • static_jiecheng
    几种计算阶乘、阶乘之和的算法,由于计算机存储问题,一般阶乘不可能算得太大,只是一种方法。(Several computing factorial, factorial, and the algorithm, due to computer storage problems, the general factorial can not be considered too great, is only a way.)
    2008-04-23 12:18:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载