登录
首页 » Matlab » K最邻近分类法

K最邻近分类法

于 2022-03-16 发布 文件大小:1.79 kB
0 33
下载积分: 2 下载次数: 1

代码说明:

1.计算待分类数据和不同类中每一个数据的距离(欧氏或马氏)。 2.选出最小的前K数据个距离,这里用到选择排序法。 3.对比这前K个距离,找出K个数据中包含最多的是那个类的数据,即为待分类数据所在的类。 不通俗但严谨的规则是:

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

发表评论

0 个回复

  • shortestpath
    最短路径算法,内含5个m文件首先在m脚本文件canshuo.m中输入节点个数和路径权重(The shortest path algorithm, containing 5 m file first in the m script file canshuo.m in the number of input nodes and path weights)
    2010-03-07 21:21:54下载
    积分:1
  • dualconv
    single phase dual converter circuit
    2013-01-31 13:09:15下载
    积分:1
  • vision2
    matlab机器视觉工具箱 内含从标定到反求的一些列matlab程序!(Machine vision toolbox contains matlab from calibration to reverse some of the columns matlab program!)
    2011-11-05 11:28:53下载
    积分:1
  • Copy_of_分布式LT码
    分布式喷泉码的详细编码和译码,提高误码率(The coding and decoding of distributed fountain codes improve bit error rate)
    2017-09-06 10:18:24下载
    积分:1
  • 智能算法萤火虫算法Matlab源代码
    来自于剑桥大学教授Yang Xinshe的萤火虫算法Matlab源码,适合各种寻优问题的建模,内含代码的详细说明
    2019-05-31下载
    积分:1
  • imagefilter_GUI
    图像频率域滤波程序,课程设计作业,获优秀,完全自主开发,包含搞通滤波、低通滤波、带通滤波以及方向滤波。含GUI(image frequency domain filtering procedures, curriculum design work, outstanding, fully self-development, including engaging pass filtering, low-pass filtering, band-pass filtering and filtering direction.- GUI)
    2006-10-09 22:01:00下载
    积分:1
  • SPC
    Single phase converter control
    2013-08-05 19:43:20下载
    积分:1
  • Digital-Signal-Processing-(Sanjit)
    数字信号处理(Sanjit)(第四版)随处CD,matlab代码(Digital Signal Processing(Forth Edition)(Sanjit),matlab)
    2013-05-17 21:49:51下载
    积分:1
  • 压缩感知,各种重构算法Copmare_ECG_CS-master
    说明:  压缩感知,各种重构算法,心电信号,编程实例(Compression sensing, various reconstruction algorithms, ecg signals,)
    2020-12-25 06:29:04下载
    积分:1
  • 11
    说明:  基于MATLAB求当前坐标系下由线组成的图形的周长(MATLAB-based coordinate system for the current composition of the line the perimeter of the graphics)
    2009-05-02 15:33:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载