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

Minimum-Bayes-classifier-error-rate

于 2012-02-02 发布 文件大小:4KB
0 212
下载积分: 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 个回复

  • qam_ofdm_baseband
    Baseband qam signal in ofdm
    2011-04-25 11:45:36下载
    积分:1
  • var计算
    说明:  蒙特卡洛,标准历史模拟法计算MATLAB编程计算股票VaR(Monte Carlo, standard historical simulation method to calculate VaR)
    2020-06-12 16:24:50下载
    积分:1
  • fig4_10_11
    自适应滤波和智能天线书中附加的例题Matlab源程序,对于想深入学习此书是十分有帮助的。(Adaptive filtering and smart antenna book Matlab Example additional source, who want to study in depth the book is very helpful.)
    2008-12-23 13:59:24下载
    积分:1
  • SysTimeConversion_project
    When you use the Microsoft Automation functions VariantTimeToSystemTime to convert variant time to system time and the SystemTimeToVariantTime to convert system time to variant time, the milliseconds value appears as zero or is ignored
    2007-10-16 09:34:37下载
    积分:1
  • GettingStartedwithMATLAB
    一个matlab的入门视频教程 简单的英文表述 可以快速理解matlab数组等相关知识(Matlab video tutorial of a simple introduction to the English expressions can quickly understand the matlab array of other relevant knowledge)
    2011-04-22 00:10:49下载
    积分:1
  • kalman
    kalman滤波,主要实现二维空间目标的状态估计 简单易懂 实用性强(kalman filter)
    2013-03-26 21:47:51下载
    积分:1
  • canny
    segmentation by canny filter in pre-processing process of iris recognition
    2010-10-19 04:16:52下载
    积分:1
  • plot_hht
    Hilbert Huang Transform 绝对可用 性能超强哦:)(Hilbert Huang Transform absolute performance super available Oh:))
    2008-08-02 10:15:03下载
    积分:1
  • bwlabel
    说明:  联通区域的标记 matlab 的bwlabel功能(matlab bwlabel )
    2010-04-30 13:59:04下载
    积分:1
  • lvbo
    实现用LMS算法进行自适应滤波的仿真,基于GUI实现(Implementation using LMS algorithm for the simulation of adaptive filter, based on the GUI implementation )
    2013-11-29 10:44:41下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载