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

K最邻近分类法

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

代码说明:

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

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

发表评论

0 个回复

  • a
    说明:  1、对原文《线性时滞系统的记忆与无记忆复合H∞状态反馈控制》仿真例子作了修正。原例子根据定理1没有解。 2、对该控制方法利用matlab lmi工具箱做了仿真验证。(matlab lmi toolbox)
    2010-07-21 22:19:04下载
    积分:1
  • bl11
    采用信号包络和差分方式进行信号模式识别,通过变换产生时域解析信号SKH ,即信号的复包络,得到零中心归一化瞬时绝对值的标准偏差。 (Differential use of signal envelope and the way the signal pattern recognition, transformation generated by time domain analytic signal SKH, the signal complex envelope, zero-center normalized standard deviation of the instantaneous absolute value.)
    2010-05-06 17:52:26下载
    积分:1
  • kalmanfilter
    卡尔曼滤波模型 用simulink搭建卡尔曼滤波模型(Kalman filter model with the Kalman filter simulink model to build)
    2015-04-21 10:41:44下载
    积分:1
  • RBF
    RBF神经网络工具箱,包含MATLAB的M文件一些算例(RBF neural network toolbox)
    2020-06-29 02:20:01下载
    积分:1
  • 针对EMG(肌电信号)的频率范围,设计一个带通+陷波 滤波器
    针对EMG(肌电信号)的频率范围,设计一个带通+陷波 滤波器-For EMG (EMG) frequency range, the design of a band-pass+ Notch filter
    2022-06-15 02:37:39下载
    积分:1
  • 五帧差分法
    使用五帧进行差分计算,用第五帧与前四帧进行相减,然后将得到的结果进行与操作,运行时间比三帧差的运行时间快一点,可以作为帧差法的改进算法。
    2022-09-09 02:50:02下载
    积分:1
  • Chapter_3
    Harada book simulation chapter 3
    2009-04-02 13:38:31下载
    积分:1
  • buck
    A SIMPLE MODEL ESTIMATOR FOR MULTIPLE MODEL CONTROL. BUCK DC-DC CONVERTER APPLICATION
    2011-02-08 23:52:56下载
    积分:1
  • heat2
    说明:  使用ADI方法解偏微分方程(二微加热器方程)(ADI method for the use of partial differential equations (2 micro-heater equation))
    2005-11-10 13:02:53下载
    积分:1
  • Extended_KF
    这个zip文件中包含的原则和双方的扩展卡尔曼滤波(EKF)和全球定位系统(GPS)算法简要说明。它的主要目的是提供一个相对容易实现的扩展卡尔曼滤波,在我们使用的输入函数的形式,而不是禁止函数处理符号表达式。它也可作为一个简要介绍了卡尔曼滤波算法GPS和学习它的意思。在为EKF的例子,我们提供的原始资料,同时使用的定位扩展卡尔曼滤波和最小二乘法的任务和解决方案。 有四个M文件和两个数据文件。 Extended_KF.m包含EKF的函数体。另一些功能和GPS的示例数据文件。(This zip file contains a brief illustration of principles and algorithms of both the Extended Kalman Filtering (EKF) and the Global Position System (GPS). It is designed primarily to provide a relatively easy-to-implement EKF, in which we use symbol expressions as the form of input functions rather than the forbidding function handles. It also serves as a brief introduction to the Kalman Filtering algorithms for GPS and a mean of learning it. In the example for the EKF, we provide the raw data and solution for the positioning task using both EKF and the Least Square method. There are four m files and two data files. Extended_KF.m contains the function body of the EKF. Others are functions and data files for the GPS example.)
    2011-05-23 10:35:27下载
    积分:1
  • 696516资源总数
  • 106794会员总数
  • 11今日下载