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

Minimum-Risk-Bayes-classifier

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

  • 12
    说明:  基于MATLAB/SIMULINK的PMSM仿真与实现(PMSM)
    2010-11-26 13:48:03下载
    积分:1
  • LE
    说明:  基于灰度共生举证局部熵方法求图像的分割阈值(Proof based on gray level co local entropy method for solving the segmentation threshold)
    2010-12-25 08:50:50下载
    积分:1
  • Primff
    最小生成树matlab程序,程序简单明了,通俗易懂,能够为需要者提供很大的帮助(Minimum spanning tree matlab program, the program is simple, easy to understand, and be able to provide a great help for those who need)
    2012-09-17 18:48:59下载
    积分:1
  • m_map1.4h
    海洋数据、图像处理的matlab软件包,最新版本1.4h(ocean data,omage processing tools,ver1.4h )
    2013-12-07 19:09:32下载
    积分:1
  • Changjiang
    带有级比调整的灰色预测代码 在灰色预测之前做级比检验,降低相对误差(GREY MODEL)
    2015-02-02 08:29:22下载
    积分:1
  • igafem_ng
    the code has written by fortran language and extend finite element method (XFEM) in order to calculate grow of crack in material
    2016-07-17 11:44:28下载
    积分:1
  • guoreqiwenchuanjikongzhi
    说明:  过热气温串级控制,是锅炉控制系统中的一个重要组成部分,一般运用的都是串级的控制,相对于水位的三冲量控制。(Superheated steam temperature cascade control, boiler control system is an important part of the general use of cascade control are compared with three-level impulse control.)
    2010-04-01 15:24:00下载
    积分:1
  • Romberg
    是计算方法中一种重要的积分方法,即Romberg积分方法的Matlab程序(Is an important method of calculating the integral method, which Romberg integration method in Matlab)
    2011-11-29 10:10:53下载
    积分:1
  • MATLAB
    信道仿真,用MATLAB 进行无线信道的仿真技术,重点是多径衰落信道(failed to translate)
    2013-05-04 13:03:46下载
    积分:1
  • 特征提取
    说明:  主要是用于提取超声导波的时域特征,例如偏度参数、峰度系数、形状系数、离散系数等等(Time Domain Characteristics for Extracting Ultrasound Guided Waves)
    2019-04-20 19:02:25下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载