登录
首页 » 算法 » 机器学习kNN算法的c语言实现

机器学习kNN算法的c语言实现

于 2023-03-26 发布 文件大小:2.42 kB
0 87
下载积分: 2 下载次数: 2

代码说明:

本人正在学习机器学习的算法,已经学习了几个,自己尝试着用c语言编写程序,这是其中的kNN算法,基于《机器学习实战》这本书。

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

发表评论


0 个回复

  • 雅可比行列式的计公式
    计算方法雅可比公式-calculation formula Jacobian
    2022-01-24 14:06:32下载
    积分:1
  • 动态规划的投资问题 包括子函数和主程序,用C++编写
    动态规划的投资问题 包括子函数和主程序,用C++编写-Dynamic Programming
    2023-01-06 11:55:04下载
    积分:1
  • Mathematical modeling of the classical algorithm, including the most short
    数学建模的经典算法实现,其中包括最短路等问题的实现-Mathematical modeling of the classical algorithm, including the most short-circuit issues such as the realization of
    2022-03-20 01:55:37下载
    积分:1
  • MATLAB广泛应用于线性代数、自动控制理论、数理统计、数字信号处理、时间序列分析、动态系统仿真等领域。因此如果在VC中对MATLAB进行调用将大大减少编程的工...
    MATLAB广泛应用于线性代数、自动控制理论、数理统计、数字信号处理、时间序列分析、动态系统仿真等领域。因此如果在VC中对MATLAB进行调用将大大减少编程的工作量、保证程序的准确性,并且继承了VC++强大的功能,提高开发效率,-MATLAB widely used in linear algebra, automatic control theory, mathematical statistics, digital signal processing, time series analysis, dynamic simulation, and other fields. Therefore, if the VC right call MATLAB programming will greatly reduce the workload to ensure the accuracy of procedures, VC and inherited the powerful functions, improving the development efficiency,
    2022-02-04 04:52:22下载
    积分:1
  • lagrange插值
    在节点上给出节点基函数,然后做基函数的线性组合,组合系数为节点函数值,这种插值多项式称为拉格朗日插值公式线性插值也叫两点插值,已知函数y = f (x)在给定互异点x0, x1上的值为y0= f (x0),y1=f (x1)线性插值就是构造一个一次多项式P1(x) = ax + b使它满足条件P1 (x0) = y0 P1 (x1) = y1其几何解释就是一条直线,通过已知点A (x0, y0),B(x1, y1)。线性插值计算方便、应用很广,但由于它是用直线去代替曲线,因而一般要求[x0, x1]比较小,且f(x)在[x0, x1]上变化比较平稳,否则线性插值的误差可能很大。为了克服这一缺点,有时用简单的曲线去近似地代替复杂的曲线,最简单的曲线是二次曲线,用二次曲线去逼近复杂曲线的情形。
    2022-03-20 21:27:39下载
    积分:1
  • 邮局报刊、杂志订阅系统
    本系统由“客户服务子系统”、 “内务管理子系统”、 “原始数据管理子系统”组成。客户服务子系统包含2个功能模块:“订阅”、 “顾客事务处理”。内务管理子系统包含3个功能模块:“订单管理”、“投递管理”、“报费管理”。 原始数据管理子系统包含2个功能模块:“报刊、杂志信息维护”、“报社、杂志社信息维护”
    2023-02-15 14:40:03下载
    积分:1
  • 利用随机数生成函数生成基带序列码,实现ASK键控!
    利用随机数生成函数生成基带序列码,实现ASK键控!-Use of random number generator function to generate base-band sequence code keying realize ASK!
    2022-02-26 16:52:53下载
    积分:1
  • 机常用数值计与程序(C++),主要用于科学计中的复数运,多项式与连分式计,矩阵运,矩阵特征值与特征向量的计,线性方程组求解,非线性方程(组)...
    计算机常用数值计算算法与程序(C++),主要用于科学计算中的复数运算,多项式与连分式计算,矩阵运算,矩阵特征值与特征向量的计算,线性方程组求解,非线性方程(组)求解,插值,数值积分,常微分方程(组)求解,数值拟合与逼近,数据处理与回归分析,极值等。 -Commonly used computer algorithms and numerical procedures (C++), Mainly used for scientific computing complex in the computation, polynomials and continued fractions calculation, matrix operations, matrix eigenvalue and eigenvector calculation, solving linear equations , non-linear equation (group) to solve, interpolation, numerical integration, ordinary differential equations (group) to solve, numerical simulation and approximation, data processing and regression analysis, extreme value, etc..
    2022-05-22 17:21:07下载
    积分:1
  • java语言实现的ID3
    Program is written in java and has a GUI. The FileMenu items should be run from top to the down of the menu. If any changes in the parameters are applied, all items of menu should be run agin from top to the button in order to have the correct result. 
    2022-04-21 08:50:21下载
    积分:1
  • 关于nurbs曲线插补一个自由软件,希望有兴趣各位一起探讨。sxg1@eyou.com...
    关于nurbs曲线插补一个自由软件,希望有兴趣各位一起探讨。sxg1@eyou.com-nurbs curve interpolation on a free software, hope you are interested in exploring. Sxg1@eyou.com
    2022-04-17 07:23:36下载
    积分:1
  • 696518资源总数
  • 104517会员总数
  • 39今日下载