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

K-最近邻分类方法

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

  • 3g
    说明:  三机九节点暂态稳定分析 现代电力系统分析(Three-machine nine nodes in transient stability analysis of modern power system analysis)
    2011-11-28 20:51:27下载
    积分:1
  • Gaussian2
    说明:  高斯滤波是一种较常见的滤波方法,它能有效滤除高斯白噪声的影响。(Gaussian filter is a common filtering method can effectively filtered Gaussian white noise.)
    2010-04-03 14:47:01下载
    积分:1
  • control
    控制理论超前滞后函数matlab例程,简单易用,思路清晰,适合控制理论初学者(Control theory lead and lag function matlab routines, easy to use, clear thinking, suitable control theory for beginners)
    2012-07-23 01:11:41下载
    积分:1
  • Lifurong_zhanbo
    经典的buck电路的matlab仿真,可以修改自己电路中的电感电容等参数直接应用到自己电路的仿真中。(This is a buck cuicrt simulation,and you can set your L C R in this curcit.)
    2011-10-13 16:40:58下载
    积分:1
  • EMAlgorithmforClustering
    用于聚类的matlab的EM算法程序,速度还可以。共享给大家(for clustering of the EM algorithm Matlab procedures can also speed. For everyone to share)
    2007-03-08 10:46:36下载
    积分:1
  • LMSAlgorithm
    LMS算法是一种自适应算法,也能够很好用在数字预失真中(LMS algorithm is an adaptive algorithm, and can well be used in digital pre-distortion in)
    2012-01-10 22:42:46下载
    积分:1
  • 2013-06-30-04PSO
    基于粒子群优化算法PSO整定自抗扰控制器的参数,程序简单,具有通用性。(Based on Particle Swarm Optimization PSO ADRC tuning parameters, the procedure is simple, with versatility.)
    2021-05-12 16:52:07下载
    积分:1
  • Matlab Functions collections!
    Matlab Functions collections!
    2022-03-23 23:11:01下载
    积分:1
  • iris_recognition
    an iris recognition method
    2010-06-10 04:40:53下载
    积分:1
  • normGeomSelect
    遗传算法选择算子的MATLAB程序 (Genetic Algorithm MATLAB operator selection procedures)
    2009-03-12 17:17:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载