登录
首页 » Matlab » K近邻算法

K近邻算法

于 2022-01-28 发布 文件大小:3.56 kB
0 71
下载积分: 2 下载次数: 1

代码说明:

利用K近邻算法实现模式识别的一个小demo。对测试数据集做预处理,与训练数据集做K近邻匹配;使用5折的循环匹配;并对高维数据进行PCA降维以防止过拟合。

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

发表评论

0 个回复

  • ch17_p3
    %% 用聚类法确定葡萄酒分级 % 《MATLAB数学建模方法与实践》(《MATLAB在数学建模中的应用》升级版),北航出版社,卓金武、王鸿钧编著.(Classification of wine by clustering method Mathematical Modeling Methods and Practice in MATLAB (Upgraded Edition of Application of MATLAB in Mathematical Modeling), edited by Zhuo Jinwu and Wang Hongjun, Beihang Publishing House.)
    2018-08-23 20:58:55下载
    积分:1
  • MATLAB--rumenjiaocheng
    学习matlib的一套很好的入门教程 适合初学者快速入门(Matlib learning portal of a good tutorial for beginners and Quick Start)
    2009-04-16 19:43:20下载
    积分:1
  • PSO
    Rosenbrock函数优化属于无约束函数优化问题,其全局极小值位于一条平滑而狭长的抛物线形状的山谷底部,且为优化算法提供的信息很少,因此找到其全局极小值就显得很困难。根据Rosenbrock函数的这种特性,专门提出了一种改进的PSO算法,该算法引入三角函数因子,利用三角函数具有的周期振荡性,使每个粒子获得较强的振荡性,扩大每个粒子的搜索空间,引导粒子向全局极小值附近靠近,避免算法过早地收敛,陷入局部最优,从而找到Rosenbrock函数的全局极小值。大量实验结果表明,该算法具有很好的优化性能,为某些领域某些特定的类似于Rosenbrock函数的优化问题提供了一种新的思路。(Rosenbrock function optimization functions are unconstrained optimization problems, its global minimum value at a smooth parabolic shape and narrow mountain valley Department, and for the optimization algorithm provides little information, and therefore find its global minimum value becomes very difficult. According to this feature Rosenbrock function, specifically mentioning Out an improved PSO algorithm (PSO-R), the algorithm introduced trigonometric factor, using trigonometric has periodic oscillations, so that each particle to obtain more Strong oscillations of expanding the search space of each particle, the particle is close to nearby guide global minimum, avoiding premature convergence algorithm, into a local optimum, thus Finding the global minimum Rosenbrock function. Experimental results show that the algorithm has a good optimizing performance, similar to some certain areas Rosenbrock function in the optimization problem provides a new way of thinking.)
    2014-08-27 19:48:25下载
    积分:1
  • case24_ieee_rts
    基于matlab的电力系统IEEE24节点潮流计算,希望对大家有帮助(IEEE24 node power system load flow calculation, based on matlab)
    2021-04-06 18:49:02下载
    积分:1
  • dpfcmatlab
    dpfc simulation in matlab
    2018-07-08 16:01:51下载
    积分:1
  • 利用MATLAB编写的一些图形处理方面的程序,非常适用。
    利用MATLAB编写的一些图形处理方面的程序,非常适用。-Prepared to use some of MATLAB graphics processing procedures, is very applicable.
    2022-01-31 02:34:29下载
    积分:1
  • DS_Examples_MATLAB
    DSP using matlab is one of the good book for developers and engineers.
    2009-07-06 20:39:48下载
    积分:1
  • zhiwen-shibie
    这是一个用matlab语音编写的完整的指纹识别程序,用matlab语言实现了识别指纹、比较两个指纹图像相似度等功能,并设计了用户界面,使用户方便地进行图片的提取和分析,同时直观地显示出比较结果,方便直观(This is a complete fingerprint recognition procedures written in a voice with matlab, matlab language used to identify fingerprints, similarity compare two fingerprint images and other functions, and design a user interface that allows users to easily extract and analyze images, while visually shows the comparison results, convenient and intuitive)
    2013-12-18 19:03:57下载
    积分:1
  • WuSPT
    This is WuSPT Matlab code This is WuSPT Matlab code
    2014-03-09 21:10:02下载
    积分:1
  • Applied_sgnal_processing_2
    this file contain matlab code for signal pocessing
    2010-11-10 05:44:19下载
    积分:1
  • 696518资源总数
  • 106245会员总数
  • 18今日下载