-
Minimum-Risk-Bayes-classifier
这是模式识别中最小风险Bayes分类器的设计方案。在参考例程的情况下,自行完善了在一定先验概率的条件下,男、女错误率和总错误率的统计,放入各个数组当中。
全部程序由主函数、最大似然估计求取概率密度子函数、最小错误率贝叶斯分类器决策子函数三块组成。
调用最大似然估计求取概率密度子函数时,第一步获取样本数据,存储为矩阵;第二步对矩阵的每一行求和,并除以样本总数N,得到平均值向量;第三步是应用公式(3-43)采用矩阵运算和循环控制语句,求得协方差矩阵;第四步通过协方差矩阵求得方差和相关系数,从而得到概率密度函数。
调用最小风险贝叶斯分类器决策子函数时,根据先验概率,再根据自行给出的5*5的决策表,通过比较概率大小判断一个体重身高二维向量代表的人是男是女,放入决策数组中。
主函数第一步打开“MAIL.TXT”和“FEMALE.TXT”文件,并调用最大似然估计求取概率密度子函数,对分类器进行训练。第二步打开“test2.txt”,调用最小风险贝叶斯分类器决策子函数,然后再将数组中逐一与已知性别的数据比较,就可以得到在一定先验概率条件下,决策表中不同决策的错误率的统计。
(This is a pattern recognition classifier minimum risk Bayes design .In reference to the case of routine , self- improvement in a certain a priori probability conditions, male , female and total error rate error rate statistics , into which each array .
All programs from the main function , maximum likelihood estimation subroutine strike probability density , the minimum error rate Bayesian classifier composed of decision-making three subfunctions .
Strike called maximum likelihood estimate probability density subroutine , the first step to obtain the sample data , stored as a matrix the second step of the matrix, each row sum , and divided by the total number of samples N, be the average vector The third step is the application of the formula ( 3-43 ) using matrix and loop control statements , obtain the covariance matrix fourth step through the variance-covariance matrix and correlation coefficient obtained , resulting in the probability density function .
Bayesian classifier )
- 2012-02-02 20:37:04下载
- 积分:1
-
delay_test
Simulink中延时模块、乘积模块、常数模块、示波器模块等使用例子,可以直接运行,自己编写的。(delay module, product module, constant modules, oscilloscope module usage example in Simulink, can be directly run, written by myself)
- 2013-08-26 19:28:47下载
- 积分:1
-
RFLNA
本文设计了低噪声LNA放大器,较好了达到了指标,但是仍需改进。(This article is designed LNA low-noise amplifier has achieved a good target, but still needed improvement.)
- 2009-12-13 00:15:36下载
- 积分:1
-
Retinex
基于Retinex理论的图像增强算法 及SSR 等算法
在低照度图像处理上有一定的效果(Image enhancement algorithm based on Retinex theory and SSR algorithm
There is a certain effect in low illumination image processing.)
- 2016-05-19 16:54:51下载
- 积分:1
-
zhuanhua
二.十 六进制的转化过程及源代码 kfaf afk a(two. 10. Hexadecimal transformation process and the source code kfaf afk a)
- 2007-03-13 10:37:51下载
- 积分:1
-
matlabbasic6
神经网络的实例 ,用于图象的处理和模式识别(examples of neural networks for image processing and pattern recognition)
- 2007-05-18 10:16:05下载
- 积分:1
-
sub_pass.tar
根据公汽线路信息数据,编写对任意车站,寻找通过该站的汽车线路的M文件;
(3)编写M文件,对任意两个车站m,n,判断是否有线路通过这两车站,若有则编写寻找通过该站的汽车线路的M文件
(4)对任意两个车站m,n,若没有线路直接通过这两车站,编写通过一次转车而到达两站的M文件
(According to the bus line information and data to write on any station to find the M-file line through the station car (3) the preparation of the M-file, any two stations m, n, determine whether the line through these two stations, if write to find the M-file line through the station car (4) any two stations m, n, if there is no line directly through the two stations, the preparation time to change trains to reach the M-file of the two stations)
- 2012-07-03 21:28:27下载
- 积分:1
-
Using-the-extended-hybrid-finite-method-for-solvin
利用扩展混合有限方法求解双曲型方程的matlab算法(Using the extended hybrid finite method for solving hyperbolic equations matlab algorithm)
- 2010-02-02 14:13:59下载
- 积分:1
-
YALMIP
解整数规划问题的matlab程序包 能够很好地解决非线性规划问题(Solving of Integer Programming)
- 2013-04-29 11:12:13下载
- 积分:1
-
mfcc
Matlab source code for Mel Frequency cepstral coefficient
- 2015-03-03 21:56:43下载
- 积分:1