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

Minimum-Bayes-classifier-error-rate

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

  • IFESTAR2
    用二阶自回归(AR2)模型估计信号的瞬时频率(Using second-order autoregressive (AR2) model estimates the instantaneous frequency signal)
    2008-03-17 15:28:38下载
    积分:1
  • Matlab-wiener-filter
    wiener filter matlab源代码(wiener filter)
    2012-10-20 20:37:22下载
    积分:1
  • cgsvd
    CGSVD Compact generalized SVD of a matrix pair in regularization problems. sm = cgsvd(A,L) [U,sm,X,V] = cgsvd(A,L) , sm = [sigma,mu] Computes the generalized SVD of the matrix pair (A,L): [ A ] = [ U 0 ]*[ diag(sigma) 0 ]*inv(X) [ L ] [ 0 V ] [ 0 eye(n-p) ] [ diag(mu) 0 ] where U is m-by-n , sigma is p-by-1 V is p-by-p , mu is p-by-1 X is n-by-n . It is assumed that m >= n >= p, which is true in regularization problems. Reference: C. F. Van Loan, Computing the CS and the generalized singular value decomposition , Numer. Math. 46 (1985), 479-491. Per Christian Hansen, IMM, 12/19/97. Initialization.
    2021-03-25 20:29:14下载
    积分:1
  • How_to_use_FullBNT_toolbox
    如何使用FullBNT工具箱,基于MatlAB环境。(How to use FullBNT toolbox, based on MatlAB environment.)
    2010-08-29 11:17:39下载
    积分:1
  • ERSTUDIO
    ERSTUDIO資料建模工具的学习资料,不错。(ERSTUDIO data modeling tool of learning materials, good. ERSTUDIO資料建模工具的学习资料,不错。 ERSTUDIO data modeling tool of learning materials, good. )
    2015-03-15 16:01:08下载
    积分:1
  • PLL
    自己写的一个锁相环程序,希望对大家有所帮助(A phase-locked loop to write their own procedures, we hope to be helpful)
    2007-11-23 14:55:12下载
    积分:1
  • galactic
    matlab 游戏 matlab 游戏matlab 游戏matlab 游戏(face recognize)
    2009-04-25 09:16:50下载
    积分:1
  • rkt
    rkt filtering, image processing
    2010-08-01 23:31:25下载
    积分:1
  • Solvinglinarequationshedirectmethod
    说明:  关于解线性方程组的直接法的常见matlab程序。可直接使用 (解线性方程组的直接法)
    2010-03-17 00:15:18下载
    积分:1
  • para
    matlab guide 中设计参数表,利用Activexcell实现,容易实现及掌握(matlab guide the design parameters in the table, using Activexcell realize, easy to realize and grasp the)
    2008-04-07 16:59:19下载
    积分:1
  • 696518资源总数
  • 106235会员总数
  • 12今日下载