登录
首页 » matlab » KNN

KNN

于 2020-10-23 发布 文件大小:1KB
0 211
下载积分: 1 下载次数: 17

代码说明:

  K最邻近密度估计技术是一种分类方法,不是聚类方法。 不是最优方法,实践中比较流行。 通俗但不一定易懂的规则是: 1.计算待分类数据和不同类中每一个数据的距离(欧氏或马氏)。 2.选出最小的前K数据个距离,这里用到选择排序法。 3.对比这前K个距离,找出K个数据中包含最多的是那个类的数据,即为待分类数据所在的类。(K nearest neighbor density estimation is a classification method, not a clustering method. It is not the best method, but it is popular in practice. Popular but not necessarily understandable rule is: 1. calculate the distance between the data to be classified and the data in each other (Euclidean or Markov). 2. select the minimum distance from the previous K data, where the choice sorting method is used. 3. compare the previous K distances to find out which K data contains the most data of that class, that is, the class to which the data to be classified is located.)

文件列表:

KNN.m

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

发表评论

0 个回复

  • iii
    Add Gaussian white noise (mean=0 and variance=0.05 ) to the image using imnoise command. Now use fftshift command to put all zero frequencies in the middle. Low-pass filter this function by applying a mask saving only the central Fourier coefficients. Set the mask width to 255 and create the filtered image.
    2014-09-11 15:08:58下载
    积分:1
  • ip_05_05
    在不同信噪比条件下,对于不同调制方式所产生的误码率曲线!(Signal to noise ratio in different conditions, for different modulation generated BER curves!)
    2007-12-05 10:11:10下载
    积分:1
  • UWB_Channel_IEEE_802_15_3a
    UWB 有关的仿真程序,很全面,希望对大家有用。(UWB-related simulation program, very comprehensive)
    2009-03-25 16:17:04下载
    积分:1
  • fuzzyC
    遗传算法改进的模糊C均值聚类的matlab源程序,可以运行,格式需要更改(Improved genetic algorithm fuzzy C means clustering matlab source code, you can run, you need to change the format)
    2010-05-16 13:13:06下载
    积分:1
  • evol
    粒子群算法,本算法对粒子群算法进行了改进(PSO, the PSO algorithm has been improved)
    2011-06-30 10:35:20下载
    积分:1
  • MEMORY-NEURAL-NETWORK-a-PROTEIN
    MEMORY,NEURAL NETWORK & PROTEIN
    2014-12-30 17:59:21下载
    积分:1
  • XT
    说明:  协同预测模型,用于滑坡位移数据的建模以及预测,有良好精度(Collaborative forecasting model)
    2014-04-12 15:01:08下载
    积分:1
  • edgeextracting
    matlab灰度图像的边缘提取:直方图均衡化,canny算子实现一阶偏微分,计算梯度幅值和方向(matlab Gray Image Edge Extraction: histogram equalization, canny realization of first-order partial differential operator, calculate the gradient magnitude and direction)
    2010-11-30 13:53:18下载
    积分:1
  • The-decision-tree
    这是一个决策树的matlab实现,已经测试通过(This is a matlab implementation of decision tree, have the test pass)
    2014-01-05 17:29:48下载
    积分:1
  • PSKbinar
    simple psk(phase shift key)
    2012-05-29 21:11:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载