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

Minimum-Risk-Bayes-classifier

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

  • wavelet-zero-tree-program
    嵌入式小波分析,零树小波的程序,包含主程序,分解重构,以及提升程序(Embedded wavelet analysis, wavelet zero-tree program, including the main program, decomposition and reconstruction, and promotion procedures)
    2011-04-28 17:52:41下载
    积分:1
  • elman
    EXAMPLE9_2_1.M 函數newelm的使用 EXAMPLE9_2_2.M 訓練Elman類神經網路 EXAMPLE9_3_1.M 函數newhop的使用 EXAMPLE9_3_2.M 創建具有兩個神經元的hopfield網路( EXAMPLE9_2_1.M : the use of fuction newelm EXAMPLE9_2_2.M : train Elman neural network EXAMPLE9_3_1.M : the use of fuction newhop EXAMPLE9_3_2.M : to create two neurons of hopfield network)
    2010-05-23 21:53:10下载
    积分:1
  • Boost_12_80V_30W
    升压变流器 及其控制策略 ( Boost_12_80V_30W.)
    2012-04-17 23:56:57下载
    积分:1
  • ChannelDistoration
    ChannelDistoration.m实现了相同的数字信号分别经过无失真信道、幅度失真信道、相位失真信道和幅、相失真信道时的输出信号畸变情况。(ChannelDistoration.m realized through the same digital signals without distortion channel, amplitude distortion channel, the channel phase and amplitude distortion, phase distortion of the output signal of the channel when the aberration.)
    2014-11-04 09:43:07下载
    积分:1
  • fourierAtomata
    VEanlo por ustedes mismos
    2012-03-28 22:09:16下载
    积分:1
  • rockchip_gslX680_rk3168
    gslx680 rockchip 源码 兼容gsl1680,gsl1680E,gsl2680.gsl2682,gsl3680,gsl3680B,gsl3670(gslx680 rockchip source)
    2013-11-20 13:48:01下载
    积分:1
  • Multisim-9-for-Educators
    The book gives the instruction of using Multisim 9 for educators
    2014-01-06 17:18:14下载
    积分:1
  • 最优聚类数
    运用matlab软件可实现矩阵的最优聚类数的计算(Using matlab software can realize the matrix calculation of the optimal number of clusters)
    2017-11-08 19:52:42下载
    积分:1
  • sift-mlab
    SIFT代码,包括detector & descriptor.Matlab版本,内有详细的说明文档。值得一看(SIFT code, including detector )
    2008-03-21 21:37:49下载
    积分:1
  • ant_tspelitists
    改进的蚂蚁算法,即带精英策略的蚂蚁算法,求解TSP问题,对深入理解蚂蚁算法的优化原理很有帮助,通过测试。(Improved ant algorithm, ant algorithm with elitist strategy, to solve TSP problem, the ant-depth understanding of the principle of optimization is helpful, pass the test.)
    2010-10-24 14:30:18下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载