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

k-近邻算法的实现

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

代码说明:

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

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

发表评论

0 个回复

  • 实现飞机订票系统的功能,可以支持查询航班信息、订票、退票以及退出系统的功能。界面为C语言格式。...
    实现飞机订票系统的功能,可以支持查询航班信息、订票、退票以及退出系统的功能。界面为C语言格式。-Realize the function of the aircraft booking system can support the query flight information, booking, refund and withdraw from the system. Interface for the C language format.
    2023-03-14 22:40:03下载
    积分:1
  • A dynamic link library for the entry
    一个用于入门的动态链接库的极好例子,当你把本例看完后,也就会在VC下封装动态链接库了,还有测试程序。-A dynamic link library for the entry-an excellent example, when you read this case even after the VC will be in the dynamic link library under the package, and there are test programs.
    2022-02-09 20:01:09下载
    积分:1
  • Windows API for Visual Basic
    Windows API for Visual Basic
    2022-11-05 15:40:04下载
    积分:1
  • a program for auto update,you can use it for program update without modify
    用于自动更新的源代码,不需要修改就可使用-a program for auto update,you can use it for program update without modify
    2022-04-24 09:53:05下载
    积分:1
  • 实现图案化和抖动技术,以及bmp2txt
    实现图案化和抖动技术,以及bmp2txt-realize picture and dithering technology,as also bmp2txt
    2022-05-12 10:05:31下载
    积分:1
  • 医院管理系统
    医院管理系统发达国家,以减少在医院手动完成的工作中心。每一步做的帮助系统,服务,如员工登记数据库、 查询,以及处理顾客投诉的员工、 学生等不同类型的编辑。这个医院管理系统将有助于减少大量纸工作和档案工作在这些医院将使容易管理的医院。不管他们问,它还将提供最新的信息管理和医院管理。医院管理系统也包括任何人都可以问问关于药物可用性和股票被命令以及关于其到期日期的药剂师。
    2023-07-06 06:50:03下载
    积分:1
  • 修改exe导入表vc++源代码,与汇编的源码不同!
    修改exe导入表vc++源代码,与汇编的源码不同!-revised table vc source code, compile the source code with different!
    2023-04-19 19:05:03下载
    积分:1
  • achieve the VC environment, the single BMP file photo shows inside the function.
    实现了VC环境下,单文档里面显示BMP图片的功能。-achieve the VC environment, the single BMP file photo shows inside the function.
    2023-07-19 03:30:03下载
    积分:1
  • 在第1章中,我们首先讨论在使用和不使用M F C的情况下创建一个窗口,以便清楚地了解 M F C是如何工作的。M F C窗口既可以由属于M F C的C +
    在第1章中,我们首先讨论在使用和不使用M F C的情况下创建一个窗口,以便清楚地了解 M F C是如何工作的。M F C窗口既可以由属于M F C的C + +类创建,也可以由一个早于并存在于 M F C之外的非C + +窗口类创建。我们将进一步观看窗口类并讨论那些由Wi n d o w s操作系统提 供的窗口类。最后,再看看M F C应用程序中都有什么。-In Chapter 1, we first discuss the use and does not use MFC create a window to a clear understanding of how the work of MFC. MFC window can belong to MFC from the C++ Type create, you can co-exist as early as by an outside non-MFC is C++ Window class to create. We will further watch window class and discussed by the Wi ndows provided by the operating system window class. Finally, take a look at MFC application has what.
    2022-05-18 08:31:25下载
    积分:1
  • MLP_backprop
    此代码包括推行多层感知器神经网络的前馈和 backprop 算法。您还可以重构代码到不同的编程语言。
    2023-04-23 08:00:03下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载