-
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
-
Cultural-Algorithms
Cultural Algorithms similation (Cultural Algorithms similation)
- 2011-06-27 16:47:33下载
- 积分:1
-
Regularization_Tools
求解离散病态问题的正则化方法matlab 工具箱,可以应用到地震勘探中反演问题的求解!(solving discrete pathological problems are based on Matlab toolbox, can be applied to seismic inversion solution!)
- 2007-05-20 15:20:42下载
- 积分:1
-
Heat-Conductoin-2-D
This programm is to calculate a two dimentional conduction problem.
- 2013-07-16 21:15:55下载
- 积分:1
-
Matlab2010
虽然为一本旧版本的书,但是一本较清晰的教科书,附录中有一些常用概念的索引也非常有用(Although an old version of the book, but a clear textbook appendix useful index of some commonly used concepts)
- 2012-10-25 02:19:58下载
- 积分:1
-
Emd_SVD
说明: 通过峭度指标与互相关系数筛选IMF进行SVD分解去噪(Filtering IMF for SVD denoising by kurtosis index and correlation number)
- 2020-03-12 15:15:41下载
- 积分:1
-
bcs-spl-1.5-1
Block Compressed Sensing of Images Using Directional Transforms
- 2014-02-16 16:40:00下载
- 积分:1
-
HuSquare
说明: Hu不变矩基础实现,七个不变矩,仅计算不变矩,未计算相似度(Hu imdidndaidndansjncisancicn)
- 2020-05-09 11:39:01下载
- 积分:1
-
fdmex_windows
To detect the face from any gray image
- 2009-05-15 04:04:57下载
- 积分:1
-
Data-Networks
Data Networks
排队论方面的经典书籍,
出版:Prentice-Hall International Editions
Dimitre Bertsekas and Robert Ganager(Data Networks)
- 2011-10-13 17:41:50下载
- 积分:1