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

Minimum-Bayes-classifier-error-rate

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

  • gundongtiao
    这个小程序能够实现字体的滚动效果,非常有用,肯定能够帮助一些人。(This small program can be achieved fonts rolling effect, very useful and can certainly help some people.)
    2010-01-04 16:15:44下载
    积分:1
  • extractArchive
    matlab中的解压程序升级,可以解压更多的压缩格式,(matlab in the decompression program to upgrade, you can extract more compressed format,)
    2012-07-10 19:26:27下载
    积分:1
  • LTE_3GPP
    LTE standard using multiple antennas aligning with 3 GPPP standard
    2014-10-02 00:11:52下载
    积分:1
  • timedelay-phase
    一种表述光纤光栅光学特性的源程序,用于仿真光纤光栅时延特性(An expression of the optical properties of the fiber grating source for simulation fiber grating delay characteristics)
    2012-11-12 15:58:43下载
    积分:1
  • LDPC编码的BP译码算法的matlab
    说明:  LDPC编码的BP译码算法的matlab程序(Matlab Program of BP Decoding Algorithms for LDPC Coding)
    2021-01-25 16:28:43下载
    积分:1
  • foc
    异步电机转子磁场定向控制仿真模型,通过验证,好用!(FOC induction motor simulation models, easy to use!)
    2020-12-28 21:19:01下载
    积分:1
  • 71477193toolbox
    说明:  matlab 机器人避障仿真 同时定位与地图创建程序(the robot slam simulation)
    2010-05-24 00:20:03下载
    积分:1
  • embedded_matlab_function
    关于对embedded matlab function的使用的文档,详细说明embedded matlab function的用法(Document on the use of embedded matlab function, detailed description of the usage of the embedded matlab function)
    2013-03-06 16:03:42下载
    积分:1
  • 111
    年能够在matlab中实现播放音乐的功能,茫茫的天涯是我的爱。。。。。。(Years in matlab function of playing music, the vast horizon I love. . . . . .)
    2013-04-09 19:28:20下载
    积分:1
  • yinshiGPC
    yinshiGPC model predictive control
    2007-12-20 22:54:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载