登录
首页 » matlab » KNN

KNN

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

  • untitled
    函数的界面函数和一些控件的函数的使用等等,帮助用户使用matlab并很方便的理解(Function of the interface functions and the use of some of the control functions, etc., and to help users easily understand the matlab)
    2011-04-20 21:48:40下载
    积分:1
  • psat
    PSAT包含了:PF-潮流计算;CPF-连续潮流;OPF-最优潮流;SSSA-小扰动分析;TDS-时域仿真;GUI-用户人机界面;GNE-自定义模型等功能。该工具包已经可以计算上千节点规模的系统。而且该软件包源代码完全公开,因此用户可以根据自己的研究兴趣编写修改相应源代码实现研究目的。(PSAT includes: PF-flow calculation CPF-continuous fashion OPF-OPF SSSA-small perturbation analysis TDS-time domain simulation GUI-user machine interface GNE-custom models and other functions. The kit can have thousands of computing nodes scale systems. And the package source code is completely open, so that the user can modify the source code to write research purposes according to their research interests.)
    2013-12-14 16:41:54下载
    积分:1
  • hdb3
    有关HDB3码型的编码,matlab程序(About the HDB3 code-coding, matlab program)
    2013-05-14 23:39:13下载
    积分:1
  • kongzhililun
    T形桥接网络是一种常用的滤波网络中,用MatLab求其状态空间模型,画出该电路的零——极点图。(T-shaped bridge network is a kind of filter commonly used network, use MatLab for its state-space model, draw the circuit zero- Pole map.)
    2008-12-24 15:51:24下载
    积分:1
  • pulse_generator3
    产生速率160Gbit/s,脉宽1.25ps的一阶高斯脉冲模拟序列(101101)(Production rate of 160 Gbit/s, pulse width 1.25ps first order Gaussian pulse simulation sequence (101101))
    2013-11-24 17:23:22下载
    积分:1
  • Problem1
    2013年“高社杯”数学建模b题,对于纵向切割的图片复原。 使用方法:打开matlab,调整工作目录为解压后的文件夹,在matlab工作框中输入Problem1即可(2013 " High Society Cup" Mathematical modeling b title picture for longitudinal cutting recovery. How to use: open matlab, adjust working directory is unpacked folder work in matlab can enter Problem1)
    2013-09-27 19:20:17下载
    积分:1
  • n-Queen-using-ICA
    SOlved program n-Queen BY ICA
    2014-12-14 13:13:16下载
    积分:1
  • mohuzuoyezhu
    模糊控制作业,采用模糊控制方法实现,闭环控制,并与传统PID控制比较说明模糊控制的优越性(Operations of fuzzy control, fuzzy control method to achieve closed-loop control, and comparison shows the superiority of fuzzy control and conventional PID control)
    2020-12-18 11:09:11下载
    积分:1
  • plotpointsGradient
    This function allow to plot a series of points represented in omogeneous coordinates or euclidean ones
    2010-07-22 16:55:16下载
    积分:1
  • CFBPa
    可以对自定义体模或者临床数据进进行fbp重建-fbp (Custom phantom or clinical data into the the fbp reconstruction-fbp)
    2012-08-07 01:52:02下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载