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

Minimum-Bayes-classifier-error-rate

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

  • chengxu
    最新的自适应小脑神经网络在滑膜变结构中的应用。(New adaptive neural network of small changes in the structure of synovial membrane.)
    2010-06-23 09:57:30下载
    积分:1
  • create_scurve
    人工产生scurve数据集,方便一些降维方法的效果验证(Scurve generate artificial data sets to facilitate some of the effects of dimensionality reduction methods to verify)
    2007-10-08 11:17:00下载
    积分:1
  • matlab888
    matlab常见问题集,不错的资料哦,MATLAB初学者很有帮助(Frequently Asked Questions matlab, good information Oh, MATLAB helpful for beginners)
    2008-01-19 08:51:24下载
    积分:1
  • viterbi_decoder2_p
    关于viterbi编码的,信道编码相关程序,适用(viterbi_decoder2_p)
    2010-10-11 15:14:36下载
    积分:1
  • nettools
    神经网络工具箱在matlab中的演示代码(Matlab neural network toolbox in the demo code)
    2009-07-08 19:15:59下载
    积分:1
  • matlab
    自学matlab的好书,适应于初学者,大家好好学习哦,加油(Learning matlab' s books, adapted to beginners, we learn oh, come on)
    2011-06-19 16:58:51下载
    积分:1
  • Contour-extraction-
    轮廓线的提取,处理图像中的对轮廓线的提取问题,matlab源码(Contour extraction processing of the image of the contour extraction problem, matlab source)
    2021-01-11 15:48:50下载
    积分:1
  • gear
    输入齿轮基本参数,绘制数字齿轮图形,并生成离散齿轮数据点坐标。(The basic parameters of the input gear, illustrated with digital gear graphics, and generate the coordinates of the discrete gear data points.)
    2020-09-18 15:17:57下载
    积分:1
  • proj_2
    Opencv code for Sobel edge detection
    2013-11-24 22:00:49下载
    积分:1
  • newton
    This program solves the following equation using Newton-Raphson method.
    2012-02-15 16:49:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载