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

Minimum-Risk-Bayes-classifier

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

  • MRL06
    2004年robotcup世界冠军源代码(2004 world champion robotcup source code)
    2008-03-10 19:43:29下载
    积分:1
  • Sample_code
    Sample ppt for action of a class teacher
    2010-02-05 17:33:50下载
    积分:1
  • Correlation.Multiple.Cluster
    说明:  这是有关信道编码的matlab仿真程序,里面有很多子程序,很好用!(This is the channel coding of Matlab simulation program, there are many subroutine good use!)
    2006-04-10 01:16:01下载
    积分:1
  • slkz00003
    基于异步电动机的矢量控制模块,应用于中压船舶电力推进系统,可实现6KV船舶电网推进系统的矢量控制功能(VC contrl)
    2012-03-22 00:04:07下载
    积分:1
  • func_panduan_fenbu
    判断数据是否符合概率分布;内含多种概率分布(Determine whether the probability distribution of the data)
    2013-08-26 17:35:07下载
    积分:1
  • 03
    说明:  可以修改文字的颜色、大小、字体。还可以对文字的方格和粗细进行设定。(You can modify the text color, size, font. The text can also be configured grid and thickness.)
    2009-11-28 16:16:24下载
    积分:1
  • kalman-lb_zsy
    由于Kalman 滤波算法将被估计的信号看作在白噪声作用下——个随机线性系统的输出, 并且其输入输出关系是由状态方程和输出方程在时间域内给出的, 因此这种滤波方法(Because of Kalman filtering algorithm will be estimated as the signal in white noise-a random under the action of linear systems, and its output input and output relationship is by the state equation and output equation in time domain are within the, so the filtering method )
    2011-10-08 21:13:14下载
    积分:1
  • chap8
    matlab图像处理实例详解chap8——图像变换技术(matlab image processing examples explain chap8- image conversion technology)
    2013-12-16 15:49:54下载
    积分:1
  • CD_Telephoning
    Relaying and orthogonal frequency division multiple access (OFDMA) are the accepted technologies for emerging wireless communications standards. The activities in many wireless standardization bodies and forums, for example IEEE 802.16 j/m and LTE-Advanced, attest to this fact. The availability or lack thereof of efficient radio resource management (RRM) could make or mar the opportunities in these networks. This paper therefore provides a comprehensive RRM algorithm for OFDMA-based multi-cellular fixed relay networks in a way to ensure fairness among users with minimal impact on the network throughput (in contrast, pure opportunistic RRM techniques always favor users with good channel conditions
    2010-09-03 16:33:42下载
    积分:1
  • matlabtftb2002
    MATLAB时频工具箱,比较完整,欢迎大家下载(Time-frequency MATLAB toolbox, relatively complete, welcome everyone to download)
    2008-03-19 11:24:44下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载