-
Bayes的matlab实现
自己写的一个Bayes分类器的matlab程序,比较简单。
使用方法
>> [ train_x, train_y ] = readdata("train_data.txt" );
>> [ test_x, test_y ] = readdata("test_data.txt" );
>> [mode]=MyBayes_train( train_x, train_y);
>> [ acurracy, predict_y]=MyBayes_test( test_x, test_y, mode);
- 2022-03-09 19:08:01下载
- 积分:1
-
朴素贝叶斯的C语言实现
学过概率的同学一定都知道贝叶斯定理:
这个在250多年前发明的算法,在信息领域内有着无与伦比的地位。贝叶斯分类是一系列分类算法的总称,这类算法均以贝叶斯定理为基础,故统称为贝叶斯分类。朴素贝叶斯算法(Naive Bayesian) 是其中应用最为广泛的分类算法之一。
朴素贝叶斯分类器基于一个简单的假定:给定目标值时属性之间相互条件独立。
通过以上定理和“朴素”的假定,我们知道:
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报 打分 发表评论 暂无评论
- 2023-04-06 20:40:03下载
- 积分:1
-
是一个利用VC实现的求星期几的小程序.它可以实现你所在日期的是星期几的查询.是一个比较简单的程序.
是一个利用VC实现的求星期几的小程序.它可以实现你所在日期的是星期几的查询.是一个比较简单的程序.-VC is a realization of a few weeks for a small procedure. It can be achieved in your date is a few weeks of inquiries. It is a relatively simple procedure.
- 2022-06-14 07:43:06下载
- 积分:1
-
prosecutors iteration of linear equations
sor迭代求解线性方程组-prosecutors iteration of linear equations
- 2022-03-07 17:12:15下载
- 积分:1
-
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
- 2022-08-04 05:36:45下载
- 积分:1
-
哈夫曼树的源代码
这个代码是数据结构的练习册的习题,实现了哈夫曼树的创建,哈夫曼树的树形输出
- 2023-03-25 01:55:03下载
- 积分:1
-
在有限元分析中计算结构整体刚度矩阵、单元刚度矩阵、单元结点位移、应力应变等...
在有限元分析中计算结构整体刚度矩阵、单元刚度矩阵、单元结点位移、应力应变等-In finite element analysis to calculate the structure of the overall stiffness matrix, element stiffness matrix, element node displacement, stress and strain, etc.
- 2022-03-14 12:45:45下载
- 积分:1
-
Extended Kalman Filter
Extended Kalman Filter-a toolkit
- 2022-04-29 02:05:23下载
- 积分:1
-
一个标准的粒子滤波程序,有助于对粒子滤波算法的理解
一个标准的粒子滤波程序,有助于对粒子滤波算法的理解-A standard particle filter process, contribute to the understanding of particle filter
- 2023-07-18 06:10:03下载
- 积分:1
-
SOR法解线性方程组(逐次超松弛法)是Gauss
SOR法解线性方程组(逐次超松弛法)是Gauss-Seidel的改进方法-SOR method for linear equations (successive over-relaxation method) is the Gauss-Seidel Method
- 2022-08-17 10:25:41下载
- 积分:1