登录
首页 » Windows开发 » k-近邻算法的实现

k-近邻算法的实现

于 2022-02-14 发布 文件大小:2.84 kB
0 106
下载积分: 2 下载次数: 1

代码说明:

kNN实现步骤 (1)计算已知类别数据集中的点与当前点之间的距离 (2)按照距离递增次序排序 (3)选取当前与当前距离最小的k个点 (4)确定k个点所在类别的出现的频率 (5)返回前k个点出现频率最高的类别作为当前点的预测分类

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

发表评论


0 个回复

  • 使用pwm6输出pwm信号,通过滤波实现DAC转换。
    使用pwm6输出pwm信号,通过滤波实现DAC转换。-use pwm6 output PWM signal through Filter DAC conversion.
    2022-12-02 17:50:04下载
    积分:1
  • 日历控件,功能居多,能自己调试显示样式,输出格式
    日历控件,功能居多,能自己调试显示样式,输出格式-the software is well used . it includes more functions than ago
    2022-04-01 16:25:00下载
    积分:1
  • Below is a small program procedures used to prepare WITH TC 2.0. Changes in marg...
    下面给出的小程序程序用TC2.0编写。变化时边缘细胞不参与变化。随着迭代次数的不同,在屏幕显示的图案精彩纷呈,象万花筒般引人入胜-Below is a small program procedures used to prepare WITH TC 2.0. Changes in marginal cells do not change. With the number of iterations different, the screen shows the logo brilliant, as attractive as Kaleidoscope
    2023-02-06 20:30:03下载
    积分:1
  • 我真的喜欢Windows编程直到Windows95来。我曾经憎恨…
    当Windows95推出后,我才真正开始喜欢Windows编程。我一直痛恨使用Windows1.0、2.0、3.0和3.1来编程,尽管随着每一种版本的推出,这种憎恨都越来越少。当Windows95出现时,它彻底改变了我的思想,如同其他被征服的人的感觉一样――它看上去非常酷!那正是我所需要的。-I was truly loving windows programming until Windows95 come. I had being hating using Windows1.0,Windows2.0,Windows3.0 , Windows3.1 and etc. although the strength of hating was becoming little and little.It changed my idea from the bottom when windows come on,Just as the others feelings that it looks so cool and also i needed.
    2023-01-09 19:50:04下载
    积分:1
  • 停车诱导系统的信息处理 停车诱导系统一般分为信息采集、信息布、信息处理和信息传输四个子系统。停车诱导系统除提供车位使用状况信息外,还担负着存储车场或路边车...
    停车诱导系统的信息处理 停车诱导系统一般分为信息采集、信息发布、信息处理和信息传输四个子系统。停车诱导系统除提供车位使用状况信息外,还担负着存储车场或路边车位信息、加工处理车位使用情况的变化模式等任务,这些功能将为提供停车需求状况预报、停车预约等服务奠定基础。-Parking Guidance System Parking Guidance System information processing will generally be divided into information collection, information dissemination, information processing and information transmission in four subsystems. Parking Guidance System In addition to providing information about the status of parking spaces to use, but also bears a storage yard or the roadside parking information, parking spaces for the use of processing changes in mission mode, these features will provide parking demand forecasting, parking and other services lay the foundation for an appointment.
    2022-03-30 20:46:20下载
    积分:1
  • Gray
    灰度扩展及灰度图像伪彩色化:灰度值在0~20之间显蓝色,20~40之间显绿色,40~255显红色。 -Gray-scale images of pseudo-color: gray-scale value between 0 to 20 Hin blue, between 20 to 40 green, 40 ~ 255 marked in red.
    2023-02-07 23:50:04下载
    积分:1
  • usb接口相关程序,涉及到USB接口的控制方法,数据传输等.
    usb接口相关程序,涉及到USB接口的控制方法,数据传输等.-USB interface related program including USB Interface control, data transfer and so on.
    2022-10-27 04:15:03下载
    积分:1
  • 一个简单的图片上传程序,占空间极小,功能比较完善.其他功能根据您的需要添加...
    一个简单的图片上传程序,占空间极小,功能比较完善.其他功能根据您的需要添加-a simple picture upload procedures, accounting for a very small space, function more perfect. Other features you need to add
    2022-03-01 09:23:37下载
    积分:1
  • Automation axes to limit the data within the automated axes 4000, restrict data...
    自动化坐标轴,限制数据4000以内 自 动化坐标轴,限制数据4000以内-Automation axes to limit the data within the automated axes 4000, restrict data within 4000
    2023-05-05 15:35:04下载
    积分:1
  • CRC32计算的高效算法,利用看
    CRC32计算的高效算法,利用查表法,可以直接使用。- CRC32 calculation efficient algorithm, using look-up table method can be used directly.
    2022-02-02 11:50:19下载
    积分:1
  • 696518资源总数
  • 105243会员总数
  • 13今日下载