登录
首页 » matlab » KNN

KNN

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

  • w-v
    时频分布wigner-ville的仿真,可以通过改变信号,来看函数的分布情况(time-frequency distribution of air to air-ville, the simulation can signal changes, look at the distribution function of)
    2021-04-19 14:08:51下载
    积分:1
  • 基于PCA的SVM分类
    选择“BreastCancer”数据集,使用支持向量机(SVM)对其进行分类。作为对比,第一次对特征集直接进行支持向量机分类,第二次对特征集进行主成分分析法的特征提取后,再对特征提取后的特征集进行支持向量机分类。并且对比和分析了两次分类的结果。(The BreastCancer data set is selected and classified by Support Vector Machine (SVM). For comparison, the first time the feature set is classified directly by support vector machine, the second time the feature set is extracted by principal component analysis, and then the feature set is classified by support vector machine. The results of the two classifications are compared and analyzed.)
    2020-06-20 10:20:02下载
    积分:1
  • cdma
    CDMA系统的MATLAB仿真包括信号的产生信号的调制解调(MATLAB simulation of CDMA systems, including signals generated signal modulation and demodulation)
    2008-12-24 15:56:39下载
    积分:1
  • dsmud_E44
    E4 盲多用户检测算法在AWGN信道下的性能 RLS-LMF算法(E4-blind multi-user detection algorithm in the AWGN channel the performance of RLS-LMF algorithm)
    2009-03-31 17:02:06下载
    积分:1
  • srknn
    自己用matlab编写实现的一个k近邻算法,并有训练和测试数据,能运行。附有注释,简单清晰。(a k-nearest neighbour algorithm developped using matlab.)
    2013-01-27 11:30:48下载
    积分:1
  • variable_step_LMS
    最新的三篇有关变步长的LMS算法。由于去噪,检测等。(The latest three variable step size LMS algorithm related. Because of de-noising, testing and so on.)
    2014-09-23 14:43:16下载
    积分:1
  • City_Move
    基于matlab实现城镇迁移问题,可用于估计若干年后各城镇的人口情况。(Based matlab urban migration issues, can be used to estimated the town' s population in a few years later.)
    2012-11-03 11:19:44下载
    积分:1
  • Matlab-Genetic-Algorithms
    MATLAB平台实现遗传算法 包括遗传算法与遗传算法以及遗传算法(Genetic algorithms and genetic algorithms and genetic algorithm based on MATLAB platform, including genetic algorithm)
    2014-04-14 16:19:14下载
    积分:1
  • matrix_converter
    It is a three level matrix converter.
    2014-11-05 17:35:42下载
    积分:1
  • ESS
    并网型微网储能容量的优化,经济性分析。Horizon为总周期,单位为小时(Optimization of energy storage capacity and economic analysis)
    2018-12-19 23:59:02下载
    积分:1
  • 696519资源总数
  • 104213会员总数
  • 32今日下载