登录
首页 » 算法 » knn算法C实现

knn算法C实现

于 2022-01-21 发布 文件大小:113.63 kB
0 191
下载积分: 2 下载次数: 1

代码说明:

KNN最邻近算法在c上的实现。输入样本可以根据已经训练好的模型将该词分类,或者重新训练样本,将该新输入的样本进行分类。代码是在C语言上完成的。

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

发表评论

0 个回复

  • 逆序数计
    计算文件中的逆序数数目。分别采用归并排序和快速排序算法来实现对文件逆序数的计算。
    2022-08-05 20:15:20下载
    积分:1
  • 最优化,包括各种线性优化和非线性优化问题
    最优化算法,包括各种线性优化和非线性优化问题-Optimization algorithms, including linear optimization and nonlinear optimization problems
    2023-08-18 20:45:04下载
    积分:1
  • 无和集问题求解
    无和集问题求解算法-no set of issues and algorithm
    2023-03-07 10:45:03下载
    积分:1
  • sdfvasdfvasvda
    2022-06-16 18:34:51下载
    积分:1
  • TSA趋势检验
    通过程序,可以对时间序列数据进行趋势检验分析,TSA突变趋势分析程序可以广泛应用于动力学和水文时间序列数据的检验之中。
    2022-07-02 15:37:11下载
    积分:1
  • c语言实现图案绘制
    算例1使用图形学算法在屏幕上画出一个圆,运行结果如附图1. 运行本程序后,先要求用户输入要画圆的圆心坐标、半径等数据,然后清屏并按照用户给出数据画出一个圆。 知识点:Turbo C的图形方式编程、画圆算法等; 算例2:实现屏幕画线和画矩形的程序,运行效果见附图2. 运行本程序后在屏幕上显示256色的套接矩形框。 知识点:DOS中断调用以及怎样直接写视频缓冲区; 算例3:使用BIOS中断INT 10H的功能随机生成图案,运行效果附图3. 程序执行后将在屏幕上随机生成颜色并进行填充,本例中随机颜色的初始值选择比较偏近于蓝色调,也可以自行设ing。 算例4:实现了图形的旋转、平移和缩放,运行效果如附图4.
    2022-04-28 10:45:57下载
    积分:1
  • This algorithm was developed by Professor Ronald L. Rivest of MIT and can be fou
    This algorithm was developed by Professor Ronald L. Rivest of MIT and can be found presented in several languages. What I provide to you here is a C++ derivative of the original C implementation of Professor Rivets. The library code itself is platform-independant and has been tested in Redhat Linux. I ve included the sample code and makefile that I used for the Linux test. The demo, however, was written with Visual C++ 6 on a Windows 2000 platform.-This algorithm was developed by Professor Ronald L. Rivest of MIT and can be found presented in several languages. What I provide to you here is a C derivative of the original C implementation of Professor Rivets. The library code itself is platform-independant and has been tested in Redhat Linux. I ve included the sample code and makefile that I used for the Linux test. The demo, however, was written with Visual C 6 on a Windows 2,000 platform.
    2022-01-27 12:21:27下载
    积分:1
  • prepared using Matlab, uses subject, see
    用matlab编写,用途见题目-prepared using Matlab, uses subject, see
    2022-03-02 08:48:48下载
    积分:1
  • pure aloha 和slotted aloha matlab代码
    pure aloha 和slotted aloha算法的 matlab代码。结果显示了两种算法吞吐量的对比,通过修改标签数也可以得出吞吐量的变化值。
    2022-08-22 15:08:56下载
    积分:1
  • 2004全国大学生数学建模大赛,获奖论文
    2004全国大学生数学建模大赛,获奖论文-2004 National Undergraduate Mathematical Modeling Contest, winning papers
    2023-06-24 22:30:05下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载