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

K-最近邻分类方法

于 2022-03-21 发布 文件大小:2.82 kB
0 95
下载积分: 2 下载次数: 2

代码说明:

%cvknn-K-Nearest 邻居分类 % %简介 [类] %= cvKnn (X,原始,ProtoClass,[K]、 [distFunc]) % %说明 %K-最近邻分类 % %投入 ([] s 都是可选的) %(矩阵) X D x N 矩阵表示列 classifiee 矢量 其中 D 是维度数目,N 是的 % %数目的向量。 x 代表列原型载体的 P 矩阵 (矩阵) 原始 D % 其中 D 是维度数目,P 是的 % %数目的向量。 (矢量) ProtoClass % %1 x P 向量包含类标签为原型 %向量。 %(标量) [K = 1] K NN K.搜索 K 最近邻。 %(func) [distFunc = @cvEucdist] %为距离度量值的函数句柄。该函数 %必须具有两个参数的矩阵 X 和 Y.见 %cveucdist.m (欧几里德距离) 作为参考。 % %产出 ([] s 都是可选的) %(矢量) 类 1 x N 向量包含分类类标签 十.Class(n) %是 X(:,n) 的类 id。 %(矩阵) [等级] 仅供 NN (K = 1) 现在。 %nClass x N 向量包含排名类标签 十.Rank(1,n) %是第一候选人,是 %class(n),Rank(2,n) 同是第二届 %候选人,Rank(3,n) 是第三个和等等。 % %参见 %cveucdist cvMahaldist %作者 直利 Seo < sonots (at) sonots.com > % %

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

发表评论

0 个回复

  • rect_array
    MATLAB Simulations for Radar Systems DesignMATLAB_Code ect_array(MATLAB Simulations for Radar Systems Design MATLAB_Code rect_array)
    2009-10-26 21:48:20下载
    积分:1
  • guide_tv_deblur
    Guide to the MATLAB code for total variation-based deblurring with FISTA
    2010-12-16 21:02:17下载
    积分:1
  • PDM-QPSK
    偏振复用正交相移监控通信系统信噪比理论值计算(Polarization multiplexed quadrature phase shift monitoring communication system signal-to-noise ratio theoretical value)
    2013-04-15 19:42:17下载
    积分:1
  • fast-parrallel-and-opta
    经典复合式指纹细化算法源码,算法步骤为先用快速并行算法遍历,后用OPTA算法遍历,附有注释。(Classic composite fingerprint thinning algorithm source code, for the first step of the algorithm with fast parallel algorithm traversal traversal algorithm after using OPTA, annotated.)
    2016-03-14 17:03:46下载
    积分:1
  • sudu
    计算数独的好方法,能够快速解决问题,使用方便(Good way to calculate the number of independent, able to quickly solve the problem, easy to use)
    2010-06-19 00:10:42下载
    积分:1
  • iPhoneSoftModem-BreakOut_EAGLE_v1
    this is using for Data over audio commnunication
    2015-03-10 07:38:54下载
    积分:1
  • dipoleFDTD
    patch antenaa fdtd.. mkldnkdjgsircdo,gudficghfoidgjsdcmhgrig
    2013-12-30 22:06:24下载
    积分:1
  • ACO-OFDM信号发送与接收
    说明:  在本实验中,我们主要在Matlab平台上实现非对称性限幅光正交频分复用(ACO-OFDM)信号的发送与接收的仿真与分析。通过这场实验,我们能够更加掌握ACO-OFDM信号原理及信号的特点,并掌握ACO-OFDM发送与接收调制解调原理及信号经过信道后的恢复方法。实验步骤主要如下:首先,Matlab产生16QAM映射方式的正交频分复用(OFDM)符号,然后在产生ACO-OFDM信号;在每个ACO-OFDM符号前添加循环前缀,然后编写ACO-OFDM信号发送接收程序;信道使用高斯白噪声(AWGN)信道;Matlab绘出时域ACO-OFDM信号,均衡后的接收信号的星座图。(In this experiment, we mainly realize the simulation and analysis of the transmission and reception of asymmetric amplitude-limited optical orthogonal frequency division multiplexing (ACO-OFDM) signal on the platform of matlab. Through this experiment, we can grasp the principle of ACO-OFDM signal and the characteristics of the signal, as well as the principle of ACO-OFDM sending and receiving modulation and demodulation and the method of signal recovery after passing through the channel. The experimental steps are as follows: Firstly, matlab generates 16QAM mapping orthogonal frequency division multiplexing (OFDM) symbols, and then generates ACO-OFDM signals; adds a cyclic prefix to each ACO-OFDM symbol, and then writes the ACO-OFDM signal transmission and reception program; the channel uses the Gauss white noise (AWGN) channel; and MATLAB draws the constellation of ACO-OFDM signals in time domain, after equalization, the received signal.)
    2021-03-21 23:19:17下载
    积分:1
  • lngama.m
    说明:  计算gammafunction通过Lanczos approximation(calculate gamma function through Lanczos approximation)
    2020-06-23 09:40:02下载
    积分:1
  • HARRIS
    Harris Corner Detector
    2010-02-22 18:33:20下载
    积分:1
  • 696518资源总数
  • 105717会员总数
  • 10今日下载