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

Minimum-Risk-Bayes-classifier

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

  • power_transfo
    多机电力系统仿真及其潮流计算,Matlab/Simulink(Multi-machine power system simulation and power flow calculation, Matlab/Simulink)
    2009-03-17 20:55:21下载
    积分:1
  • matlab-simple-GA
    在matlab下实现的遗传算法编程,希望对遗传算法的初学者有所帮助(In matlab genetic algorithm to achieve programming, genetic algorithm would like to help beginners)
    2008-01-19 10:47:15下载
    积分:1
  • table_dtc_ideal_pi_7p5kw
    利用matlab进行电机的直接转矩控制仿真,十分详细(dtc matlab simulink)
    2010-10-10 13:18:07下载
    积分:1
  • MATLABCode
    雷达系统设计matlab仿真一书配套源代码,配有示意图,对学习雷达系统的设计很有帮助。(Matlab simulation of radar system design supporting a book source code, with a schematic design of radar systems to learn helpful.)
    2010-12-17 16:34:48下载
    积分:1
  • OFDM_matlab
    文档中是OFDM信号的MATLAB源码,用于产生简单的ofdm信号,以供大家讨论学习。(The document is OFDM signal MATLAB source code used to generate a simple ofdm signals for our discussion to learn.)
    2009-11-23 17:16:21下载
    积分:1
  • fuzzy-control
    模糊控制及其matlab仿真实例。包含程序。(Matlab fuzzy control and simulation examples. Contains the program.)
    2011-07-05 10:35:58下载
    积分:1
  • multipath
    使用matlab进行多径效应的仿真。直接运行主函数即可(Matlab simulation of multipath effects.)
    2013-03-11 17:01:11下载
    积分:1
  • FisherLDA
    Fisher线性判定函数,输入训练集及测试集,输出错误率和线性判别函数。(The Fisher Linear determine the function, enter the training set and test set, the output error rate and linear discriminant function.)
    2013-05-19 21:45:51下载
    积分:1
  • IEEE新算法 辅助信源法
    包括王永良课本单辅助信源法,IEEE文献新算法(Auxiliary_source_method,RMSE_Auxiliary_source_DOA)
    2018-01-11 15:12:43下载
    积分:1
  • BMELIB2.0b
    最大熵,用于数据融合,数据补充等方面的,贝叶斯最大熵原理(Maximum entropy, for data fusion, data supplement, and other aspects, Bayesian maximum entropy principle)
    2020-07-03 17:00:01下载
    积分:1
  • 696518资源总数
  • 104976会员总数
  • 7今日下载