登录
首页 » matlab » KNN

KNN

于 2013-05-11 发布 文件大小:158KB
0 233
下载积分: 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 个回复

  • channel
    对多径信道的仿真 输入码元,是一行矩阵,可以是实数也可以是复数 %fs是输入码元的比特率 %fd是多普勒频移 %n_delay是多径信道的径数 %t_delay是多径信道各径的时延时间 %p_delay是多径信道各径的功率db值 (Of the multipath channel simulation input symbol is a line matrix, can be a real number can also be plural fs is the input symbol of the bit rate fd is the Doppler frequency shift is n_delay multipath channel diameter of a few t_delay is multipath channel time delay of the Path p_delay is multi-path channel the power of the diameter db value)
    2008-04-28 10:16:04下载
    积分:1
  • gbo
    说明:  阵列天线的波束形成程序,为天线方向图的仿真提供便利的工具(Array antenna beam-forming process, for the antenna pattern to provide a convenient tool for the simulation 搜索)
    2009-09-03 22:00:19下载
    积分:1
  • Untitled4
    基于MATLAB对散斑干涉图像进行低通滤波及二值化处理的编程(Programming for low pass filtering and two valued processing of speckle interference image based on MATLAB.)
    2021-04-19 21:28:51下载
    积分:1
  • speakerchange
    SPEAKER SEGMENTATION CODE IN MATLAB
    2010-12-25 01:37:25下载
    积分:1
  • yinwen
    模糊PID控制器优化函数的文章,很不错的,很有参考价值,是英文版的可以作为参考资料。(Fuzzy PID controller optimization function article, very good, good reference is the English version can be used as reference.)
    2010-09-13 15:03:25下载
    积分:1
  • QPSKsimulation
    重要是实现通过瑞利信道的QPSK的仿真,同时给出了其误码率的仿真(Important thing is to achieve through the Rayleigh channel QPSK simulation, while its error rate is given simulation)
    2009-12-11 14:11:35下载
    积分:1
  • ABC_MATLAB-
    ABC_MATLAB 第一版,人工蜂群算法第一版源代码(ABC_MATLAB first edition, first edition artificial bee colony algorithm source code)
    2013-07-10 19:37:52下载
    积分:1
  • Corazza_simulation
    采用一种新的仿真方法建模与仿真Corraza信道模型:Rayleigh-Normal仿真模型(The method uses a new simulation modeling and simulation Corraza channel model: Rayleigh-Normal simulation model)
    2021-02-20 16:49:43下载
    积分:1
  • kaermanweiner
    基于MATLAB的数字滤波器的设计,有例子可参考学习(MATLAB-based design of digital filters, there are examples for reference)
    2010-08-26 11:58:16下载
    积分:1
  • Matlab
    matlab7从入门到精通PPT教程,共10章,学习matlab较简单的资料(matlab7 ppt)
    2012-05-21 09:53:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载