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

k-近邻算法的实现

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

代码说明:

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

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

发表评论

0 个回复

  • 自己做的一个文件流读取文件,本人初学只能做到这样,以后还请多多指教。...
    自己做的一个文件流读取文件,本人初学只能做到这样,以后还请多多指教。-Their own to do a file stream to read the file, I am beginner can do so later also invited exhibitions.
    2023-02-06 07:40:03下载
    积分:1
  • MFC 的树控件实现 可以实现添加 修改 删除等功能
    MFC 的树控件实现 可以实现添加 修改 删除等功能-MFC tree control can achieve the functions of adding amendments to delete
    2022-01-27 12:04:51下载
    积分:1
  • MODBUS RTU ASCII。
    您可以通过FreeModbus-v1.5.zip获取FreeModbus的当前版本。此版本包括许多功能,如Modbus RTU
    2022-02-02 23:31:27下载
    积分:1
  • FRID开发
    FRID读写器开发FRID读写器开发FRID读写器开发FRID读写器开发FRID读写器开发FRID读写器开发FRID读写器开发FRID读写器开发FRID读写器开发
    2022-08-10 00:46:36下载
    积分:1
  • 这本书很高
    这本书在高端技术(尤其是相关操作系统核心)中排名最高,很多人经常推荐这本书来填补这一空白。本书以操作系统的概念为基础,辅以实例验证。具有32位Windows编程经验的读卡器集。
    2022-02-28 11:11:26下载
    积分:1
  • HANOR on the book
    这是一个关于汉诺塔的书机-HANOR on the book-
    2023-07-11 02:00:03下载
    积分:1
  • Mobile手机录像,获取源数据是WMV9格式,输出格式为ASF Requirements: Visual Studio 2005, Win...
    Mobile手机录像,获取源数据是WMV9格式,输出格式为ASF Requirements: Visual Studio 2005, Windows Mobile 5.0 Pocket PC SDK, ActiveSync 4.0.-Feature Area: Video capture Description: This sample provides the basic video capture functionalities: It captures and encodes video in a WMV file, and captures and encodes an image in a jpeg file. Usage: Build and deploy using Visual Studio 2005. Relevant APIs/Associated Help Topics: ICaptureGraphBUilder2 Assumptions: Your device needs to have a video capture driver installed (the emulator ships with a null capture driver). The video will be saved to the root of your device to "video1.asf". The still picture will be saved to "test.jpg" If you wish, you can change these hardcoded values in the code for the files to be saved to a different location. Requirements: Visual Studio 2005, Windows Mobile 5.0 Pocket PC SDK, ActiveSync 4.0.
    2022-03-10 08:30:19下载
    积分:1
  • 数据结构车厢调度问题: 用栈的形式实现车厢调度,火车入口处的车厢序列编号为1到n...
    数据结构车厢调度问题: 用栈的形式实现车厢调度,火车入口处的车厢序列编号为1到n -data structure train scheduling problem : stack trains in the form of scheduling, at the entrance to a train compartment of a serial number to n
    2022-10-24 16:30:03下载
    积分:1
  • 简单的媒体播放器
    简单的媒体播放器-simple media player
    2023-03-24 04:50:04下载
    积分:1
  • Delphi版本的State模式范例
    Delphi版本的State模式范例-Delphi version of the model example of State
    2022-04-07 21:12:22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载