登录
首页 » matlab » knn-MatlabCode

knn-MatlabCode

于 2020-10-04 发布
0 237
下载积分: 1 下载次数: 2

代码说明:

说明:  K近邻算法。(k-Nearest Neighbor,KNN),是一个理论上比较成熟的方法,也是最简单的机器学习算法之一。该方法的思路是:在特征空间中,如果一个样本附近的k个最近(即特征空间中最邻近)样本的大多数属于某一个类别,则该样本也属于这个类别。(K-nearest neighbor algorithm. K-nearest neighbor (KNN) is a mature method in theory and one of the simplest machine learning algorithms. The idea of this method is: in the feature space, if most of the k nearest (i.e. the nearest) samples near a sample belong to a certain category, then the sample also belongs to this category.)

文件列表:

knn\datingTestSet2.txt, 26067 , 2016-02-18
knn\KNN.m, 429 , 2019-11-15
knn\KNNdatgingTest.m, 945 , 2019-11-15
knn, 0 , 2019-11-15

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

发表评论

0 个回复

  • plank
    用于计算黑体的辐射值,帮助初学辐射学的人加深理解,内含例子程序。(Used to calculate the radiance value of blackbody, to help beginners to deepen understanding of radiology, including example programs.)
    2020-06-17 12:40:01下载
    积分:1
  • 2
    Background Given a set of rectangles {R1, R2, …, Rn}, compute the area of their common intersection. i.e., Area(R1∩R2∩…∩Rn) The edges of the rectangles R1, R2, …, Rn, are either vertical or horizontal lines. For example, the intersection of 4 rectangles, R1, R2, R3, and R4, in the following figure is the shaded rectangle. Input The input contains (N + 1) lines. The first line specifies the number of rectangles N, where 1 < N < 1000. Since the sides of the rectangles are parallel to the x-axis and y-axis, each rectangle is bounded by the lines x = x1, x = x2, y = y1 and y = y2 and each subsequent line of the input file thus specifies one rectangle in the following format: x1 x2 y1 y2 such that 0 <= x1 < x2 <= 10000 and 0 <= y1 < y2 <= 10000, and x1, x2, y1 and y2 are integers. Output The output file contains the area of the intersection of all the rectangles.
    2013-11-15 02:58:38下载
    积分:1
  • 测量程序 (2)
    空中三角解析测量,用于摄影测量中的地面点位置测量(Aerial Triangular Analytical Measurement)
    2020-06-25 00:00:01下载
    积分:1
  • KJFIFRO42
    developer express pagecontrol 控件的源代码,我自己一直用,好东西()
    2018-05-05 04:10:52下载
    积分:1
  • 国林地板站完整,ASP+ACCESS环境开发,后台无任何限制,版面清爽简洁,上传至空间马上可用...
    国林地板站完整,ASP+ACCESS环境开发,后台无任何限制,版面清爽简洁,上传至空间马上可用-State forest floor stand complete, ASP+ ACCESS environment, development, background without any restrictions, layout refreshing simplicity, uploaded to the space immediately available
    2022-04-17 18:33:43下载
    积分:1
  • ERA
    利用结构测点自由响应计算结构模态频率,阻尼比,阵型(The modal frequency, damping ratio and formation are calculated by using the free response of structural points.)
    2018-10-19 14:27:45下载
    积分:1
  • srs2
    说明:  Good source to make your computer importal.dsag
    2019-05-21 21:20:07下载
    积分:1
  • lfm
    说明:  FOR RADAR DETECTINO BY USING C++ IN visual DSP
    2019-11-27 14:52:29下载
    积分:1
  • R0进程保护驱动源码
    说明:  R0进程保护驱动源码 读写游戏内存,可以读写任意游戏进程信息,居家旅行必备工具(R0 process protection driver source code)
    2020-10-31 21:19:55下载
    积分:1
  • CarLifeVehicleLib动态链接库使用说明
    说明:  CarLifeVehicleLib动态链接库使用说明(CarLife Vehicle Lib is a C++ based cross platform dynamic library, which realizes the function of channel establishment, data sending and receiving, protocol parsing and packing in HU CarLife. Using this library can speed up the development of CarLife in HU.)
    2020-02-06 09:33:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载