登录
首页 » matlab » knn

knn

于 2021-04-19 发布 文件大小:12996KB
0 300
下载积分: 1 下载次数: 540

代码说明:

  最近邻算法(KNN)matlab代码实现,附数据集(Nearest Neighbor algorithm (KNN) matlab code, with data sets)

文件列表:

knn分类
.......\mnist_all.mat,13337300,2013-06-21
.......\myKNN.m,471,2013-06-21
.......\testknn.m,1456,2013-06-21

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

发表评论

0 个回复

  • Adaptiveconstrainedparticleswarm
    针对粒子群优化算法应用于约束优化问题时易陷入局部极小值的问题, 提出了一种改进的粒子群优化算 法. 该算法综合了约束优化问题的目标函数值和约束函数的违反度值作为粒子群优化算法的双适应度值, 采用了 双适应值动态判断粒子群优化算法中粒子的优劣. 违反度值的计算引入了自适应加权系数, 相应地提出了调整各 权系数的自适应策略, 并改进了粒子群优化算法的粒子竞争选择策略, 拓展了粒子群优化算法的单适应值的应用 范围.应用约束自适应粒子群优化算法实现了城市水厂的节能优化调度. 结果表明, 该算法收敛速度快且结果可 靠. 粒子群优化算法为解决工程约束优化问题提供了一条可行途径(Considering that theparticleswarmoptimization( PSO) algorithmcanbeeasily trappedinto the local minimal valueinconstrainedoptimizationproblems, amodifiedconstrainedparticleswarmoptimiza tionalgorithmwasproposed. Theobjective functionvalue andthe violationvalue of constraint functions wereeffectively combinedto formtwofitnesses, andthefitnesseswereadoptedto estimate if theparticle wassuperior or not ina dynamicway. Theadaptiveweight functionwasadoptedinthe calculationof the violationvalue. The strategy of keeping anadaptive relationof weight coefficientswasproposed, andthe strategyof swarmtournament selectionwasimproved. Theapplicationlocalizationsof thesinglefitnessof PSOwerewidenedaswell. ThemodifiedconstrainedPSOalgorithmwasappliedtosolveenergyoptimiza tionproblemsof theurbanwater supplyprocess, whichshowedthat theconvergent speedof thealgorithm isfast andthe result isvalid. Afeasibleapproachto solvetheindustrial constraint optimizationproblems withPSOwasprovided.)
    2012-04-27 20:26:28下载
    积分:1
  • wind_modeling
    水面无人船舶建模所需要的海风干扰模型,带详细说明,源创科研代码(The sea breeze by the water unmanned ship modeling interference model, with a detailed description of the source of a research code )
    2012-08-11 21:45:44下载
    积分:1
  • 100imageprocessing
    matlab 图像处理基础实例 100个基础图像实例 适合初学者(matlab code for fundemental image processing. 100 basical exmaples of image processing. Especially useful to beginners.)
    2010-11-30 10:10:33下载
    积分:1
  • AngularJS
    AngularJS权威教程,前端开发利器。 AngularJS权威教程目前最火的前端开发技术(AngularJS authority tutorials, front-end development tool. AngularJS authoritative guide front-end development is currently the hottest technology)
    2014-10-02 19:49:15下载
    积分:1
  • Fuzzy_washingMachine
    a fuzzy washing machine controller which control the machine using the amount of being dirty and the volume!
    2013-12-29 20:25:21下载
    积分:1
  • Introduction-to-Algorithms
    Introduction-to-Algorithms的相關電子檔(Introduction-to-Algorithms related to e-file)
    2009-11-16 20:47:32下载
    积分:1
  • ga_with_history
    A modified version of genetic algorithm (GA) which can keep a trace of each generation.
    2009-05-07 21:18:34下载
    积分:1
  • LuoK_D2_Mur
    电磁场时域有限差分,二维Mur吸收边界条件(FDTD 2D Mur)
    2015-03-20 10:00:15下载
    积分:1
  • levy飞行改进pso_0801
    说明:  levy飞行改进pso,更好的pso改进措施,大家可以看看(levy_Flight to improve pso)
    2020-11-25 16:29:33下载
    积分:1
  • fplancka
    光学工程类Matlab模拟程序,模拟了2N个透镜阵列的成像(Optical Engineering Matlab simulation program to simulate a lens array of imaging 2N)
    2009-10-27 19:11:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载