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

Minimum-Bayes-classifier-error-rate

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

  • mimo16
    matlab比较比较好的代码!程序写的很详细!能够运行!(Winmax good code! Programs written in great detail! Be able to run!)
    2009-09-21 20:09:39下载
    积分:1
  • 《射频电路设计——理论与应用》一书课后习题第九章Matlab序代码-RF_ch09
    《射频电路设计——理论与应用》一书课后习题第九章Matlab程序代码("RF circuit design-- Theory and Application," a book OSCAR Exercises Chapter IX Matlab code)
    2005-04-04 19:45:23下载
    积分:1
  • UCA_DOA
    说明:  基于matlab的DOA估计,简单有效,适用于DOA的初学者(The DOA estimation based on matlab, simple and effective for beginners DOA)
    2011-04-14 22:38:28下载
    积分:1
  • DDC_filter
    matlab simulink实现DCC滤波器,通信课程设计肯定用的到。(DCC filter matlab simulink realization, communication course design certainly used to.)
    2013-10-16 16:32:50下载
    积分:1
  • DFIG
    基于simulink的双馈异步风力发电机的仿真模型(Simulink simulation model of doubly-fed induction wind turbines based)
    2020-11-21 22:09:37下载
    积分:1
  • 智能微电网粒子群优化算法
    智能微电网粒子群算法进行优化调度,减少成本(Optimal Dispatching of Microgrid)
    2020-06-30 05:20:02下载
    积分:1
  • xlswrite
    Montel Carlo图形的重要程序:它可以将MATLAB生成的数据转存到excel中(Montel Carlo)
    2010-10-22 14:41:05下载
    积分:1
  • dtw
    dtw的程序代码,可以实现动态时间对齐,自己编的,可以使用(dtw' s program code, dynamic time alignment can be achieved, their own code, you can use)
    2010-05-06 16:25:12下载
    积分:1
  • graphchop
    基于非线性形状先验的图割,matlab的框架,C++的程序。(A priori based on nonlinear shape graph cuts, Matlab framework, C++ program.)
    2012-07-17 20:34:28下载
    积分:1
  • Similarity
    fingerprint extraction
    2013-12-12 03:59:24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载