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

Minimum-Bayes-classifier-error-rate

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

  • unipolar
    Performance of uipolar modulation Unipolar encoding, a line code
    2011-05-16 23:28:40下载
    积分:1
  • fNewton_Raphon
    一个Newton_Raphon迭代的简单代码,还有Primal Dual Interior Point的例子(A simple iterative code of Newton_Raphon method)
    2014-10-05 10:14:17下载
    积分:1
  • func
    function for auv id this file is good for estimation
    2009-06-30 15:30:55下载
    积分:1
  • filter_all
    数字滤波器的设计及性能比较 用三种方法设计FIR滤波器:窗口法、最大最小误差法、频率采样法;用两种方法设计IIR滤波器:冲激响应不变法、双线性变换法。很全的matlab滤波器程序!( Digital filter design and performance comparison of three methods to use FIR filter design: the window method, the largest minimum error method, frequency sampling method two ways IIR filter design: impulse response of the same law, two and transform. Is the whole process of the matlab filter!)
    2009-07-09 14:56:36下载
    积分:1
  • Steg
    MATLAB LSB İ MPORTANT
    2013-12-20 05:34:19下载
    积分:1
  • Usingwaveletanalysisrecoversignal
    利用小波分析对污染信号消噪以恢复原始信号(Using wavelet analysis of contamination signal to recover the original signal de-noising)
    2015-03-23 17:11:51下载
    积分:1
  • ESPRIT_DOA
    说明:  ESPRIT方法进行DOA估计,各种参数见程序内部的参数设置,只是简单的ESPRIT程序,而非修正的ESPRIT方法(ESPRIT DOA estimation methods, see the program within the parameters set of parameters, but simply the ESPRIT program, rather than the ESPRIT method of correction)
    2011-04-12 16:59:20下载
    积分:1
  • imageR
    医学图像的匹配算法,基于matlab与c的混合编程(Medical image matching algorithm based on hybrid programming matlab and c)
    2011-04-23 14:44:37下载
    积分:1
  • two_way_relay
    two-way-relay场景下,中继处理矩阵的设计,仿真分析了DPC-ZF及DPC-MMSE算法的性能要由于AF与ZF算法性能。(In the two-way-relay scenario,simulation show that both DPC-ZF and DPC-MMSE have a higher throughput and lower BER performance compared with the traditional AF algorithm and ZF algorithm.)
    2020-12-06 19:09:21下载
    积分:1
  • boundary_type
    FEM2D_STOKES_SPARSE_BIG_CAVITY is a square region that is 1 unit wide and 1 unit high. The tangential velocity is specified to be 1 along the top boundary, with a zero normal component. On all other parts of the boundary, the velocity is specified to be zero.
    2014-08-14 05:15:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载