登录
首页 » matlab » KNN

KNN

于 2013-05-11 发布 文件大小:158KB
0 182
下载积分: 1 下载次数: 30

代码说明:

  Implement the K nearest neighbor algorithm by your own instead of using available software. 2. Use K-fold cross validation to generate training and testing datasets. You should try different K values (3~8) to see how they affect your result. 3. Train the classifier using your training dataset, and test the classifier using your testing dataset. 4. Repeat the experiment (Step 2 and Step 3) 30 times. For each time, you need to record the training data accuracy and testing data accuracy. Finally, you can obtain the average training data accuracy and average testing data accuracy.

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

发表评论

0 个回复

  • shichangfa
    MATLAB人工势场法算法源代码 可以用于移动机器人路径规划上面(MATLAB artificial potential field algorithm source code can be used for Mobile Robot Path Planning above)
    2009-03-22 18:10:39下载
    积分:1
  • zdl
    运用matlab编程求最短路径的算法a=xlsread( D:数据.xls ) 调入数据 n=size(a,1) for i=1:n for j=1:n if a(i,j)==1000 a(i,j)==inf 不相邻点之间的距离赋值为无穷大 (The shortest path)
    2011-12-29 12:47:27下载
    积分:1
  • globaloptimum
    rayleigh_fading used to help new researcher in the field of the telecommunication
    2010-06-29 18:05:09下载
    积分:1
  • kiess_ergodic_capacity_ETT
    Unifying Analysis of Ergodic MIMO Capacity in Correlated Rayleigh Fading Environments
    2010-08-24 21:14:15下载
    积分:1
  • compress
    matlab code for audio compression
    2010-11-20 07:07:26下载
    积分:1
  • square
    square wave by sine wave
    2010-03-16 03:15:28下载
    积分:1
  • diedaisuanfa
    使用迭代算法对运动目标进行分割,阈值可以自适应调节(Using an iterative algorithm for moving target segmentation threshold can adaptively adjust)
    2012-11-25 22:45:51下载
    积分:1
  • gprmax3g
    三维地质雷达正演模拟,可以对二进制数据读取,利于学习(3D GPR simulation)
    2013-11-28 16:35:02下载
    积分:1
  • lin
    [linqua n]matlab编的一个时钟界面 比较小([linqua n] Matlab a series of relatively small clock interface)
    2005-06-08 15:23:49下载
    积分:1
  • imm3620
    多元变化检测(MAD)、最大自相关因子(MAF)、典型相关分析(CCA)、主成份分析(PCA)的Matlab代码(Matlab code to perform multivariate alteration detection (MAD) analysis, maximum autocorrelation factor (MAF) analysis, canonical correlation analysis (CCA) and principal component analysis (PCA) on multivariate image data)
    2020-08-30 15:28:13下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载