登录
首页 » Matlab » knn算法在统计学习中应用

knn算法在统计学习中应用

于 2022-10-30 发布 文件大小:60.68 kB
0 92
下载积分: 2 下载次数: 1

代码说明:

问题: 设计一个采用欧式距离的的knn分类器 应用5-fold进行交叉验证,寻找出最好的k值(从准确度考虑) 使用PCA进行降维操作,将维数降至6维,这样应用PCA之后准确率有改善吗?

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

发表评论

0 个回复

  • Scintillation
    大气闪烁程序。仿真GPS信号在电离层中传播时受到的相位和幅度的影响,是斯坦福一个教授做的,保证好使。(Scintillation procedures. Simulation of GPS signal propagation in the ionosphere by the impact of the phase and amplitude, is a professor at Stanford, and to ensure that so that.)
    2011-01-10 21:31:51下载
    积分:1
  • celp
    CELP (CELl Processing) is a functional programming package for Matlab.
    2014-09-27 22:07:38下载
    积分:1
  • ee
    快速傅里叶变换 (FFT) 实现,给定信号x(t)=sin(2πf0t),f0=50Hz,对x(t)以fs=200Hz进行抽样,抽样点数为N=16。编写程序实现对x(n)的快速傅里叶变换,求得相应的X(K)。(Fast Fourier Transform (FFT) to achieve a given signal x (t) = sin (2πf0t), f0 = 50Hz, for x (t) with fs = 200Hz sampling, the sampling points is N = 16. Procedures for the preparation of x (n) of the fast Fourier transform, obtained by the corresponding X (K).)
    2013-09-06 19:44:45下载
    积分:1
  • 萤火虫算法 CS PSO
    以优化SVM算法的参数c和g为例,对FA(萤火虫算法)MATLAB源码进行了逐行中文注解。(The firefly algorithm is based on the development of the bioluminescent biological characteristics of the natural world and is also based on the stochastic optimization algorithm of the population. There are two versions of the current literature on firefly algorithms. One is the Indian scholar Krishnanand and others, called GSO(glowworm swarm optimization); The other, proposed by the Cambridge scholar Xin-She Yang, is called the firefly algorithm. The bionic principle of the two algorithms is the same, but there are some differences in the implementation.)
    2018-01-06 15:43:31下载
    积分:1
  • PVarray_Grid_IncCondReg_det1
    说明:  基于matlab,通过MPPT控制实现光伏逆变(Based on matlab, realize photovoltaic inversion by MPPT control)
    2020-06-25 17:40:02下载
    积分:1
  • sdarticle(2).pdf
    SDELab article describing the usage and application of the package to solve stochastic equations
    2009-12-22 22:44:31下载
    积分:1
  • Fractal-interpolation-surfaces
    分形插值曲面的MATLAB 程序, 对程序中的主要变量进行了说明, 并应用实际数据进行了分形插值曲面的实例研究(Fractal interpolation surfaces of MATLAB program, to the procedure in the main variables were explained, and application of real data fractal interpolation surfaces of the case study )
    2012-01-05 19:58:42下载
    积分:1
  • mtsp
    多旅行商问题的遗传算法 环形 固定节点( MTSPOFS_GA Fixed Start Open Multiple Traveling Salesmen Problem (M-TSP) Genetic Algorithm (GA) Finds a (near) optimal solution to a variation of the "open" M-TSP by setting up a GA to search for the shortest route (least distance needed for each salesman to travel from the start location to unique individual cities without returning to the starting location) )
    2013-05-17 22:08:33下载
    积分:1
  • Rayleigh_inversion
    此程序为瑞雷面波最小二乘反演程序,适合于初步接触瑞雷面波反演研究相关方面的人员。(This procedure for the Rayleigh wave least squares inversion procedure is suitable for the initial contact Rayleigh wave inversion research personnel.)
    2020-12-10 10:19:19下载
    积分:1
  • 程序
    说明:  模拟电场中的等势线,利用计算机数学软件MATLAB模拟仿真真空中自由电荷,电偶极子,带电细棒,尖端导体等附近静电场电场线及等势线分布图型(Equipotential line in simulated electric field)
    2018-12-25 10:55:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载