登录
首页 » matlab » Minimum-Risk-Bayes-classifier

Minimum-Risk-Bayes-classifier

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

代码说明:

  这是模式识别中最小风险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 )

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

发表评论

0 个回复

  • PPCA
    PPCA变换的MATLAB程序代码 需要的可以下载 (PPCA transform MATLAB program code needed to download)
    2007-10-31 21:24:57下载
    积分:1
  • Matlab-erfen-newton
    二分法和牛顿法的matlab源代码,图像比较(Dichotomy, and Newton method matlab source code, including images )
    2011-11-29 13:10:05下载
    积分:1
  • matlab3
    MATLAB 课本实例教程MATLAB 课本实例教程MATLAB 课本实例教程MATLAB 课本实例教程MATLAB 课本实例教程(MATLAB)
    2009-12-23 09:01:24下载
    积分:1
  • bimaterial_thermal
    FE solver for bimaterial thermal 1D process
    2012-08-30 10:57:06下载
    积分:1
  • yangbenshang
    样本熵的matlab源代码,可以求出样本的熵值(Sample Entropy)
    2013-11-07 15:26:43下载
    积分:1
  • threeFIR
    加权最优FIR滤波器,反对称FIR滤波器,微分FIR滤波器的matlab实现。(Weighted optimal FIR filter, anti-symmetric FIR filter, FIR filter matlab differential realize.)
    2021-04-23 20:08:47下载
    积分:1
  • classic
    汇集了几个经典的matlab程序,大家共同学习(A collection of several classic matlab program, we learn together)
    2013-09-04 23:27:05下载
    积分:1
  • robotics-toolbox-for-matlab-
    ROBOT TOOLBOX for MATLAB 5 readme file
    2011-12-10 14:52:01下载
    积分:1
  • detect_boundary
    boundary detection Contrast is the difference in luminance or color that makes an object (or its representation in an image or display) distinguishable. In visual perception of the real world, contrast is determined by the difference in the color and brightness of the object and other objects within the same field of view. Because the human visual system is more sensitive to contrast than absolute luminance, we can perceive the world similarly regardless of the huge changes in illumination over the day or place to place. The maximum contrast of an image is the contrast ratio or dynamic range
    2015-02-25 17:34:38下载
    积分:1
  • MATLAB
    大时代奥维德单位啊打完爱的阿斯顿我饿人大的(dasdasdaweqdasd)
    2009-03-06 18:13:14下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载