登录
首页 » matlab » KNN

KNN

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

  • Genetic_Algorithm_Optimization_Toolbox_package_Mat
    This directory contains the Genetic Algorithm Optimization Toolbox for Matlab To use this, if you are local to NCSU and have AFS access to this directory, simply extend the matlab path using the following command. You can also place this command in a file called startup.m. Everytime you start Matlab in the directory containing this file, the path will always be extended.
    2007-10-26 18:58:28下载
    积分:1
  • CA码产生与自相关计算cacode
    CA码产生与自相关计算,为matlab程序文件可以用来产生适用于各个卫星的CA码(CA code and autocorrelation)
    2020-07-08 01:18:57下载
    积分:1
  • CMACnoLEARN
    说明:  自己写的CMAC 小脑神经网络逼近非线性函数(Write your own CMAC CMAC approximate nonlinear functions)
    2010-03-23 15:39:49下载
    积分:1
  • 25811210stbc
    实现LS信道估计的算法,很好的算法,对初学者有很大帮助(LS_MMSE_channel_estimators_for_OFDM)
    2010-05-23 14:22:49下载
    积分:1
  • APF
    有缘电力滤波器APF的MATLAB仿真,采用直流电压控制和Ip—Iq的检测方法(APF power filter destined MATLAB simulation, DC voltage control and detection methods Ip-Iq)
    2021-04-12 14:28:57下载
    积分:1
  • pso-powerflow
    基于matlab的基本粒子群优化算法,可应用与最优潮流计算等(Matlab-based optimization of the particle swarm algorithm can be applied with optimal power flow calculation)
    2007-05-13 23:19:34下载
    积分:1
  • exzample
    是薛定宇和陈阳泉所著《高等应用数学问题的MATLAB求解》一书的配书光盘中的例题matlab代码(And Chen Xue Dingyu Yangquan book is " higher MATLAB to solve mathematical problems," a book with the book CD matlab code examples)
    2013-09-11 10:14:40下载
    积分:1
  • 753860797xiugai
    matlab file for ECG signal treatement
    2012-01-31 04:34:27下载
    积分:1
  • pso
    个程序就是最基本的粒子群优化算法程序,用Matlab实现,非常简单。是主函数的源程序,优化函数则以m文件的形式放在fitness.m里面,对不同的优化函数只要修改fitness.m就可以了通用性很强。(Procedures is the most basic particle swarm optimization procedures, using Matlab realize, is very simple. Is the main function of the source, optimizing the function with m the form of documents on fitness.m inside, optimized for different functions as long as the modifications can fitness.m highly generic.)
    2008-04-15 13:21:12下载
    积分:1
  • 声压计
    说明:  matlab数据采集工具箱应用示例。gui是在matlab7.0.1下设计,matlab7以下版本无法正常运行界面程序。(Matlab Toolbox data acquisition application. Gui is the matlab7.0.1 design, matlab7 following versions are unable to operate normally interface procedures.)
    2005-09-07 13:25:13下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载