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

Minimum-Bayes-classifier-error-rate

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

  • stripmapSAR
    条带模式的SAR成像算法,很有用!思路清晰,赶紧下载吧。(Strip the SAR imaging algorithm model, very useful! Clear thinking...... )
    2012-03-30 19:26:24下载
    积分:1
  • eemd
    全局经验模态分解程序 对经验模态分解进行了殆尽 供大家使用 (Ensemble Empirical Mode Decomposition)
    2011-09-30 15:52:53下载
    积分:1
  • Applied-Numerical-Methods-Using-MATLAB
    Applied Numerical Methods Using MATLAB -
    2015-01-29 23:05:30下载
    积分:1
  • Particle in cell 方法的matlab代码 Simple PIC code in matlab
    Particle in cell 方法的matlab代码,非常基础,算例是空间存在一带电平板情况下,等离子体的电场分布和离子密度分布。作为入门非常好。(Particle in cell method matlab code, very basic, there is a numerical example is charged under the flat space case, the electric field distribution of plasma and ion density distribution. As entry is very good.)
    2021-04-23 21:18:48下载
    积分:1
  • MZDDE2
    zemax与matlab调用程序,当您用matlab分析复杂数据时,可以利用zemax光路计算工具提供原始数据,由matlab分析,并且可以驱动zemax优化,对自由曲面的优化更为重要,此代码为matlab调用zemax的函数库。(ZEMAX and Matlab : A Powerful Pair ZEMAX features a built-in DDE (Dynamic Data Exchange) server that allows other Windows® applications access to ZEMAX functions. Programming DDE applications can be somewhat complex if you are working in a compiled language such as C++. An alternative is to use one of the scripting languages such as Tcl, Python or Matlab. Matlab is a great choice since it is much more than a scripting language. Matlab provides a wealth of functions for processing and visualizing scientific and engineering data and there are toolboxes for Matlab that extend the basic capabilities into a wide variety of more specialized areas and disciplines. )
    2009-05-12 00:07:02下载
    积分:1
  • GA_code
    GA算法代码 (GA algorithm code)
    2010-01-22 10:34:18下载
    积分:1
  • 3_DOF_model_of_the_1903_Wright_Flyer-airframe-envi
    3 DOF model of the 1903 Wright Flyer-airframe-environment-pilot models-MATLAB Source code.zip
    2010-05-29 17:37:29下载
    积分:1
  • SSFroughSeg
    这是采用模糊粗糙集的方法处理图像的matlab代码(This is a fuzzy rough set approach to image matlab code)
    2010-07-01 22:15:21下载
    积分:1
  • rnd_smp_dictionary
    对图像进行分块,进而对待训练图像进行随机采样(The code randomly sample patches from images)
    2011-12-13 18:12:53下载
    积分:1
  • 通过斜投影对空间相干目标进行DOA估计 oblique_projection
    通过斜投影对空间相干目标进行DOA估计,非相干信号通过MUSIC算法估计,然后斜投影估计相干信号DOA。(DOA estimation of spatially coherent targets is made by oblique projection, and the incoherent signals are estimated by MUSIC algorithm, and then the oblique projection is used to estimate the coherent signal DOA.)
    2020-06-28 10:00:01下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载