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

Minimum-Risk-Bayes-classifier

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

  • WMP_activex_in_matlab
    How to run windows media player activex in matlab
    2010-09-02 13:48:42下载
    积分:1
  • Turbo_code_simulation
    Turbo code, Turbo code, Turbo code,
    2012-03-26 11:59:59下载
    积分:1
  • daisymiaoshuzi
    有关daisy描述子的代码,是matlab程序(The daisy descriptor code, is a matlab program)
    2010-05-16 15:13:25下载
    积分:1
  • Matlabdaimadaquan
    我写的重要代码,一个关于matlab,制作用户界面的程序,很好的学习代码(IT IS VERY USEFUL, about the matlab and other languages.it is very useful.On matlab, the production of user interface procedures, good learning code)
    2012-07-24 20:54:07下载
    积分:1
  • matlab-the-gui
    一些MATLAB的应用,可以学习一些关于MATLAB中的GUI设计(Some of MATLAB applications, you can learn some of the GUI design in MATLAB)
    2012-07-25 21:42:03下载
    积分:1
  • Matlab_BFS_Maze
    本程序用Matlab语言实现广度优先算法求解迷宫问题,其中1表示障碍,0表示通路,2表示入口,3表示出口,5表示行走路线(Program using Matlab breadth-first algorithm to solve the maze problem, where 1 indicates obstacles 0 indicates that pathway, entrance 3 export 5 shows the routes)
    2013-03-15 19:42:53下载
    积分:1
  • matlab
    First steps in Matlab
    2014-11-25 23:57:50下载
    积分:1
  • fun
    用matlab解齐次线性方程,一般的二元三元或四元一次方程均不在话下,有了它,线性代数就不用愁啦(With matlab solution of homogeneous linear equations, the general binary three yuan or quaternary linear equation are mention, with it, do not worry friends of linear algebra)
    2011-11-19 14:55:03下载
    积分:1
  • aca_color
    本程序为蚁群算法在图像分类中的应用的源程序。(图像的大小为30*30)(This procedure for the ant colony algorithm in the Image Classification of the source. (Image size is 30* 30))
    2008-08-12 10:17:57下载
    积分:1
  • 2812
    TI 下载的矢量控制算法,里面包含各种函数,还有PDF文件。(Download the TI vector control algorithm, which contains a variety of functions, and the PDF file.)
    2013-11-07 22:25:41下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载