-
Minimum-Bayes-classifier-error-rate
这是模式识别中最小错误率Bayes分类器设计方案。
自行完善了在不同先验概率的条件下,男、女错误率和总错误率的统计,放入各个数组当中。
全部程序由主函数、最大似然估计求取概率密度子函数、最小错误率贝叶斯分类器决策子函数三块组成。
调用最大似然估计求取概率密度子函数时,第一步获取样本数据,存储为矩阵;第二步对矩阵的每一行求和,并除以样本总数N,得到平均值向量;第三步是应用公式(3-43)采用矩阵运算和循环控制语句,求得协方差矩阵;第四步通过协方差矩阵求得方差和相关系数,从而得到概率密度函数。
调用最小错误率贝叶斯分类器决策子函数时,根据先验概率数组,通过比较概率大小判断一个体重身高二维向量代表的人是男是女。
主函数第一步打开“MAIL.TXT”和“FEMALE.TXT”文件,并调用最大似然估计求取概率密度子函数,对分类器进行训练。第二步打开“test2.txt”,调用最小错误率贝叶斯分类器决策子函数,然后再将数组中逐一与已知性别的数据比较,就可以得到不同先验概率条件下错误率的统计。
(This is the minimum error rate pattern recognition Bayes classifier design.
Self- improvement prior probability in different 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 third step is to 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 .
Call the minimum error rate decision Functions Bayesian)
- 2012-02-02 20:33:06下载
- 积分:1
-
phase_detection
相关信号的相位差检测,并用matlab
进行仿真验证(Related to the phase difference signal detection, and to carry out simulation matlab)
- 2009-03-25 11:37:45下载
- 积分:1
-
OPTI-master
OPTI open resource from their website
- 2020-06-23 07:00:01下载
- 积分:1
-
MUSIC
This code realize the spcial smooth music algorithm
- 2013-01-03 17:25:41下载
- 积分:1
-
shuxuemoxing
这个文件是关于数学模型的,这个文件对于学习自动控制课程同学是很有用的。(This file is on the mathematical model, the file for the automatic control course students learn is useful.)
- 2011-05-28 21:37:44下载
- 积分:1
-
stripmapSAR
条带SAR成像程序,基础程序,但是很重要,可惜学习下!(Band SAR imaging procedures)
- 2013-10-13 20:54:30下载
- 积分:1
-
小波分析理论与Matlab 7实现
说明: 小波分析理论与Matlab 7实现 添加了2次提升的小波程序 详细介绍了7的新功能(Theoty of Wavelet And Implement of Matlab 7 appended procedures of two-lever-wavelets ,and introduced the new function of matlab 7 )
- 2005-09-06 16:57:29下载
- 积分:1
-
Recognize-by-Gait
包括matlab环境下的步态识别代码,视频序列、ppt展示及相关文献(Including gait recognition code in the Matlab environment, the video sequence, ppt show and related literature)
- 2012-08-05 12:40:17下载
- 积分:1
-
rengongwangl
模式识别MATLAB代码模式识别M模式识别MATLAB代码ATLAB代码(Pattern of all kinds of matlab algorithm
)
- 2010-05-31 16:25:05下载
- 积分:1
-
k-means
聚类实现,k-means算法的一个MATLAB实现(Achieve clustering, k-means algorithm to achieve a MATLAB)
- 2008-12-27 17:26:14下载
- 积分:1