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

K-最近邻分类方法

于 2022-03-21 发布 文件大小:2.82 kB
0 127
下载积分: 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 个回复

  • work2
    在matlab环境下对偏微分方程的Jacobi迭代解法的算法实现(Environment in matlab partial differential equations of the Jacobi iterative solution algorithm)
    2007-11-11 20:58:29下载
    积分:1
  • paper_about_cs
    基于准KLT 域的线谱对参数压缩感知量化研究.pdf(Compression parameters based on the line spectrum of the quasi-KLT domain perception of the quantitative research. Pdf)
    2012-10-03 10:55:37下载
    积分:1
  • figure11
    相控阵雷达的MIMO的仿真,对于雷达中的仿真(MIMO simulation of phased array radar, radar simulation)
    2013-04-15 19:58:31下载
    积分:1
  • 三D装箱MATLAB
    说明:  求解三维装箱问题的启发式算法,利用Matlab语言进行实现,包含所有m函数名文件(seek/find the solution (of a mathematical problem) heuristic approach)
    2020-12-22 21:08:53下载
    积分:1
  • Write2txt
    这个matlab程序实现了将一个数组变量写入一个txt文件的过程。每个数组元素占据一行。(This file writes a array into a .txt file. Each member in array occupies a line in .txt file.)
    2012-05-04 23:23:34下载
    积分:1
  • work
    用显示euler法、heun法、中点法和rk4方法求解一阶微分方程精确解和数值解的程序(Euler method with the show, heun method, midpoint method and rk4 exact method for solving first order differential equations and numerical solutions of the procedures)
    2010-06-14 14:44:13下载
    积分:1
  • huffman(bite)
    是matlab写的求解哈夫曼编码的程序。(is written in Matlab for Huffman coding procedures.)
    2007-05-30 22:26:04下载
    积分:1
  • project
    Pulse-code modulation (PCM) is a method used to digitally represent sampled analog signals. It is the standard form of digital audio in computers, Compact Discs, digital telephony and other digital audio applications. In a PCM stream, the amplitude of the analog signal is sampled regularly at uniform intervals, and each sample is quantized to the nearest value within a range of digital steps. Quantization Noise occurs in PCM.
    2013-10-06 05:07:20下载
    积分:1
  • DWT-SVD
    DWT-SVD模型下水印的嵌入算法源代码,以及相应的检测算法源代码(基于MATLAB实现)(This is the source code of a watermark embedding algorithm on the model of DWT-SVD,and the corresponding detection algorithm source code(based on MATLAB))
    2020-07-04 14:00:02下载
    积分:1
  • 很好用的遗传算法代码
    包括 MUSIC算法,ESPRIT算法 ROOT-MUSIC算法,包含CV、CA、Single、当前、恒转弯速率、转弯模型,调试通过可以使用,Matlab实现界面友好,用于特征降维,特征融合,相关分析等,分析了该信号的时域、频域、倒谱,循环谱等。
    2022-02-02 08:40:41下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载