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

Minimum-Bayes-classifier-error-rate

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

  • Desktop
    MATLAB实现(7,4)汉明码编码 生成矩阵可以更改有注释 方便更改(MATLAB implementation (7,4) hamming code generator matrix can be changed easily to change a comment)
    2010-12-25 10:22:17下载
    积分:1
  • Matlabslidingcontrol
    说明:  关于自动控制系统中滑模变结构控制的Matlab仿真程序(Automatic control system on the sliding mode control of the Matlab simulation program)
    2010-04-21 18:01:19下载
    积分:1
  • fangzhenjishu
    说明:  我个人认为比较好的matlab 怎么应用到c上去的文档,介绍给大家,希望能喜欢。(I personally think how good Matlab Application c boost to the document, introduced to the hope of love.)
    2006-04-02 15:17:14下载
    积分:1
  • wavelet-packet-analysis
    最近三年的关于小波包分析的研究文献资料,知网权威,研究小波包的可以下载借鉴(recent three years of research on wavelet packet analysis literature, authority of hownet, study of wavelet packet can download for reference )
    2015-06-18 09:53:30下载
    积分:1
  • galois
    Matlab code for Galois field
    2010-09-24 22:26:10下载
    积分:1
  • High
    说明:  一个高阶系统转换为状态空间的matlab算法,附有原理(A high-end system into a state space matlab algorithm, with a principle)
    2010-03-27 17:48:59下载
    积分:1
  • cplex
    cplex中文教学ppt ,cplex是商用混合整数规划软件,编制的程序对模型进行全局优化。(The cplex Chinese teaching ppt, cplex commercial mixed integer programming software, the program prepared by the global optimization model.)
    2020-12-18 08:19:11下载
    积分:1
  • mywavelete_new
    读取两个文件夹中对应的图像,将两幅图像进行小波分解,修改小波系数将两幅图像的小波系数进行融合,融合后进行反变换,得到小波分解融合后的图像。(Read the two folders corresponding image, two images using wavelet decomposition, wavelet coefficients modified wavelet coefficients of the two images are fused fusion inverse transform, wavelet decomposition obtained after fusion.)
    2015-03-26 09:26:08下载
    积分:1
  • kalmanfilter
    A new carrier synchronizationalgorithm that is carrier recovery strategy is proposed for all digital receivers that is all digital ( A new carrier synchronization algorithmthat is carrier recovery )
    2009-03-25 10:26:51下载
    积分:1
  • 04470107
    In this paper, we analyze the performance of two important mobility management protocols..MIPv6 and HMIPv6. Analytical model is developed for two mobility models- random walk and fluid flow to compute signaling cost, which consists of two components- location update cost and packet delivery cost.
    2013-02-19 15:42:29下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载