登录
首页 » matlab » Minimum-Bayes-classifier-error-rate

Minimum-Bayes-classifier-error-rate

于 2012-02-02 发布 文件大小:4KB
0 219
下载积分: 1 下载次数: 60

代码说明:

  这是模式识别中最小错误率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)

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

发表评论

0 个回复

  • SPP
    标准单点定位,利用观测文件和导航文件进行标准单点定位(Standard single point positioning, the use of observation and navigation files document standard single point positioning)
    2014-10-26 22:20:59下载
    积分:1
  • IMM
    针对二维场景下的机动目标跟踪的IMM算法实现,设计了20个模型集(IMM algorithm for maneuvering target tracking two-dimensional scenarios designed 20 Model Set)
    2020-07-02 07:20:02下载
    积分:1
  • FBMC64OQAM-(ZF-MMSE)
    FBMC Filter Ban Multicarrier 16 X 16 MIMO
    2016-09-05 13:54:53下载
    积分:1
  • browse_score_xls
    Matlab GUI程序, 带文件名browse功能,可打开excel文件。使用了listbox,edit,button等控件。 从excel文件中读取信息,显示在姓名和成绩两个窗口中,且可以在姓名窗口点选一个或多个姓名来显示对比成绩; 其中提供了文件浏览窗口,可供选取文件。 本例针对成绩文件score.xls,结构是:姓名,语文,数学,英语若干成绩。(Matlab GUI program with the file name browse function, can open the excel file. Use the listbox, edit, button, etc. controls. Read information from the excel file, name and achievements displayed in two windows, and you can name one or more of the window click on the name to display the comparison results which provides a file browser window, select the files available. In this case for the results file score.xls, the structure is: name, language, mathematics, English some success.)
    2010-06-04 01:17:00下载
    积分:1
  • kalman
    卡尔曼滤波的完整C++源代码,非常全,内含matlab相关的程序,使用时请结合具体状态方程。(Kalman filtering the complete source code, very full.)
    2013-07-31 15:19:22下载
    积分:1
  • matlab111
    fourier transform and MATLAB
    2006-10-26 20:38:25下载
    积分:1
  • sa_Ex3_2
    matlab 源代码分析,适用于rf工程师学习天线设计,结合hfss的源代码分析(matlab source code analysis for engineers to learn rf antenna design, combined with source code analysis hfss)
    2014-02-14 04:57:57下载
    积分:1
  • ffcsr
    说明:  伪随机序列产生器-filtered 代进位反馈移位寄存器,matlab 原代码。(Pseudo-random sequence generator-filtered on behalf of binary feedback shift register, matlab source code.)
    2008-11-12 11:14:44下载
    积分:1
  • digital-image-processing
    图像处理的编程入门,包括去噪,滤波,膨胀,腐蚀,边缘检测等,十分简单易学(Introduction to image processing programming, including denoising, filtering, expansion, corrosion, edge detection, very easy to learn)
    2013-04-09 10:59:09下载
    积分:1
  • Simulated-annealing-toolbox-
    模拟退火工具箱和相关的源代码,非常有用,希望大家共享学习(Simulated annealing toolbox and related source code )
    2014-01-16 23:48:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载