登录
首页 » matlab » knnalgorithm

knnalgorithm

于 2015-03-27 发布 文件大小:1KB
0 294
下载积分: 1 下载次数: 55

代码说明:

  k最近邻算法,给出训练样本和测试样本,通过样本间欧氏距离或是绝对距离来寻找测试样本的k个近邻,并根据k个实例里多数所属的类将该测试样本归为该类。(k-nearest neighbor algorithm, given the training and testing samples by the Euclidean distance between the samples or the absolute distance to find the k nearest neighbors of the test sample and the test samples according to class k instances where the majority belongs classified as class .)

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

发表评论

0 个回复

  • pack_emd
    是hht中的emd分解,很好用。可以进行经典模态分解,分解出不同的IMF(固有模态函数)(the EMD of Hilbert-huang transform .it can get IMF.)
    2009-03-07 14:12:33下载
    积分:1
  • BER_BPSK
    计算BPSK在AWGN下得误码率。其中,设置高斯白噪声的功率为1,也即是归一化功率(calculate the BER of BPSK under AWGN channel)
    2011-11-03 22:29:33下载
    积分:1
  • zuiyouhua
    自己用Matlab编写的最优化算法,包括0.618,梯度法,共轭梯度法,罚函数法.(Their own written with Matlab optimization algorithms, including 0.618, gradient method, conjugate gradient method, penalty function.)
    2010-07-19 18:38:12下载
    积分:1
  • chap4
    .已知某炉温控制系统,要求温度保持在600℃恒定,针对该控制系统有以下控制经验: (1)若炉温低于600℃,则升压,低的越多升压越高; (2)若炉温高于600℃,则降压,高得越多降压越低; (3)若炉温等于600℃,则保持电压不变。 设模糊控制器为一维控制器,输入语言变量为误差,输出为控制电压。输入输出变量的量化等级为7级,取5个模糊集,试设计隶属度函数误差变化划分表,控制电压变化划分表和模糊控制规则表。 (Known for a temperature control system that requires a constant temperature is maintained at 600 ℃, the following control experience for the control system: (1) If the furnace temperature is below 600 ℃, the step-up, the more the higher the lower the boost (2) if the furnace temperature is higher than 600 ℃, the blood pressure, high blood pressure, the lower the more (3) If the furnace temperature is equal to 600 ℃, then keep the voltage constant. Set of fuzzy controller for one-dimensional controller, input linguistic variables for error, the output control voltage. Input and output variables of quantization levels for seven, take five fuzzy sets, membership function test design error variance divided table, partition table and the control voltage variation fuzzy control rule table.)
    2015-04-10 21:53:18下载
    积分:1
  • Flow-calculation
    潮流计算在matlab中的程序使用,根据电力系统中的公式,在matlab中进行实现(Flow calculation in matlab program using a formula based on the power system, carried out to achieve in matlab)
    2013-12-23 14:10:31下载
    积分:1
  • gauss10
    可以拟合两点之间的偏差,只需要给出函数相应的数据(The deviation between two points can be fitted, only the corresponding data are given functions)
    2010-05-19 15:16:38下载
    积分:1
  • gentleBoost
    gentleboost 算法的实现,其主要用在分类与boost和adaboost稍有不同(gentleboost algorithm, which is mainly used in classification and boost and slightly different adaboost)
    2013-07-12 21:46:57下载
    积分:1
  • state_
    state space model for induction machiine
    2012-10-07 21:06:33下载
    积分:1
  • 齿轮动力学
    使用matlab进行齿轮动力学的计算,完成RV减速机器的动力学仿真(The dynamic simulation of RV reducer is completed by using MATLAB to calculate the gear dynamics.)
    2020-11-25 09:59:32下载
    积分:1
  • tuous
    研究生的一个课程设计,基于a’trous小波分解的方法的图像边缘提取(A graduate curriculum design, methods based on wavelet decomposition a' trous Image Edge Extraction)
    2010-10-05 21:06:11下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载