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

Minimum-Bayes-classifier-error-rate

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

  • AntennaandEMmodelingwithMATLAB
    天线和电磁场利用Matlab建模仿真计算超全资料(Antennas and electromagnetic field simulation using Matlab modeling ultra-wide data)
    2009-07-12 11:02:57下载
    积分:1
  • 5
    说明:  液晶空间调制器的非线性及其在闭环系统中的应用(Nonlinear liquid crystal spatial modulator and its application in the closed-loop system)
    2011-03-12 20:23:53下载
    积分:1
  • lyapunov
    说明:  MATLAB求解最大lyapunov指数源代码(MATLAB to solve the largest index of the source code lyapunov)
    2009-08-18 15:49:25下载
    积分:1
  • gpc_prepare
    高斯过程二分类的预处理函数,它估计了log(q(y|X,θ))(gaussian processes classification prepare function)
    2014-12-21 22:42:33下载
    积分:1
  • PMSM_WEAKFLUX
    永磁同步电机的弱磁控制,主要是研究研究永磁同步电机的控制(weak-flux)
    2010-07-22 16:07:01下载
    积分:1
  • xyzplotter
    to plot a pointer.[X Y Z] = XYZPLOTTER(XIN,YIN,ZIN) transforms lists XIN, YIN, ZIN which
    2009-12-16 14:43:17下载
    积分:1
  • WSN
    WSN(无线传感器网络)的初期模型建立以供后期仿真,模拟所用。(WSN (Wireless Sensor Networks) Ausgangsmodell für die Post-Simulation, die Simulation verwendet)
    2015-02-08 12:41:23下载
    积分:1
  • filter_gaussian
    很有用的源代码,实现的效果很好,很值得收藏,不错平(Useful source code, to achieve good results, it is worth collecting, good level)
    2010-11-26 21:43:59下载
    积分:1
  • Romberg
    使用Matlab语言完成《数值计算方法》中的Romberg(龙贝格)积分公式,程序可以根据用户输入的积分上下限、误差容限及表达式实现Romberg积分。(Using Matlab language to complete " numerical methods" in the Romberg (Romberg) integral formula, the program based on user input limits of integration, error tolerance and expression implementations Romberg integration.)
    2013-08-14 17:12:01下载
    积分:1
  • pq_powerflow
    潮流计算是电力系统稳态分析的重要组成部分,pq分解法是牛拉法的改进。(Power system power flow calculation is an important part of the steady state analysis, P- Q decomposition method is a kind of improvement of cattle rafa.)
    2014-12-25 21:58:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载