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

Minimum-Risk-Bayes-classifier

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

  • matlabsource
    turbo码的matlab程序,wuyufei版的(turbo codes matlab program, wuyufei version)
    2010-05-05 20:27:27下载
    积分:1
  • files
    《〈超宽带无线电基础〉〉配套程序有葛利嘉译的那本("" ultra-wideband radio base "" matching procedure GE Li-jia then translated by the)
    2006-11-22 17:26:46下载
    积分:1
  • Developing-high-refractive-index
    high refractive index metals
    2014-09-01 19:35:08下载
    积分:1
  • movie-maker
    vedio maker from the plot
    2013-04-05 05:31:40下载
    积分:1
  • Kalman-leraning-and-application
    详细介绍了Kalman滤波的理论知识,应用原理和应用环境(Kalman filter described in detail the theory of knowledge, theory and application environment application)
    2011-05-01 15:48:34下载
    积分:1
  • MFAC code
    无模型自适应控制算例代码,供初学者使用。(code for model free adaptive control, for beginner reference)
    2020-09-03 15:58:06下载
    积分:1
  • 2、闭环D型迭代学习控制仿真分析
    说明:  基础的迭代学习控制算法,基于开环、闭环、开闭环的算法(Basic iterative learning control algorithm)
    2021-02-08 15:59:54下载
    积分:1
  • Traditional_histogram
    基于直方图最大熵的目标提取算法,打包文件里含有完整的matlab程序,还有运行时的标准图片(Histogram extraction algorithm based on maximum entropy objective, packed file contains the complete matlab procedures, standards, as well as run-time images)
    2015-03-09 16:21:08下载
    积分:1
  • 12
    说明:  用于压缩感知的各种稀疏变换基和观测矩阵,有具体的源程序,是用matlab编程的。(Compressed sensing for a variety of sparse matrix transform bases and observations, a specific source is using matlab programming.)
    2014-04-27 10:40:50下载
    积分:1
  • chap4
    Matlab图像处理实例详解第四章源码,欢迎大家下载学习,很好很强哟!!(Detailed examples Matlab image processing source code chapter are welcome to download the study, very strong yo! !)
    2013-11-07 18:08:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载