登录
首页 » matlab » knnalgorithm

knnalgorithm

于 2015-03-27 发布 文件大小:1KB
0 274
下载积分: 1 下载次数: 55

代码说明:

  k最近邻算法,给出训练样本和测试样本,通过样本间欧氏距离或是绝对距离来寻找测试样本的k个近邻,并根据k个实例里多数所属的类将该测试样本归为该类。(k-nearest neighbor algorithm, given the training and testing samples by the Euclidean distance between the samples or the absolute distance to find the k nearest neighbors of the test sample and the test samples according to class k instances where the majority belongs classified as class .)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • sfunctions
    详细介绍MATLAB中s函数的用法,帮助初学者掌握s函数(S introduction of a detailed MATLAB function usage to help beginners master s function)
    2008-03-19 15:46:14下载
    积分:1
  • matlab1111
    matlab源程序,包括各种MATLAB的小程序源码(Matlab source, including small programs MATLAB source!)
    2006-05-27 19:38:24下载
    积分:1
  • mybayes
    bayes classifer,by taymaz farshi
    2011-12-28 07:05:28下载
    积分:1
  • licenseplaterecognition
    汽车车牌识别,用matlab编写的简单的程序,很适合新人学习!(license plate recognition)
    2010-06-03 21:32:06下载
    积分:1
  • chap5_2
    实数编码遗传算法求函数极大值,实现求Rosenbrock函数极大值的优化计算的实数编码遗传算法(Real-coded genetic algorithm for maximum function, Rosenbrock function realize maximum value for the optimization calculation of real-coded genetic algorithm)
    2007-10-08 10:23:39下载
    积分:1
  • hough
    hough变换求图像中的直线,matlab语言编写,修改图片的路径即可。(hough transform to draw the lines in the picture,writen by matlab, the code can only be used after modify the path of the picture.)
    2014-11-08 12:50:37下载
    积分:1
  • zhenchafa
    本程序对阴影处理效果不佳,但思路清晰明了,适合初学者参考。">
    2010-11-05 10:41:38下载
    积分:1
  • unified
    统一混沌系统的simulink文件可以自己改变参数(unified chaotic system Simulink documents themselves can change the parameters)
    2006-11-13 18:34:40下载
    积分:1
  • inttst_estimator
    快速、精确频率估计算法,噪声情况下语音信号频率估计(Fast, accurate frequency estimation algorithm, the case of speech noise frequency estimation)
    2011-09-14 21:56:16下载
    积分:1
  • gyhbit_dmap1
    分组法求点方向图.若要求其他的指纹图像的点方向图,将“fp=imread( finger.tif ) 读入指纹图象”里的imread的参数修改成所需要的图像文件名。图像准备好后,在matlab中直接运行即可。(Packet Method pattern requires fingerprint image point pattern, fp = imread (' finger.tif to' ) reads the fingerprint image " the imread parameters modify the image files into the required names. The image is ready, you can run directly in matlab.)
    2013-04-08 16:17:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载