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

Minimum-Risk-Bayes-classifier

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

  • walawala2
    这个与刚才的walawala3对比的程序。 是添加了高斯白噪声的。(this with just walawala3 contrast to the procedure. Is added to the Gaussian white noise.)
    2007-07-01 16:59:40下载
    积分:1
  • 04470115
    We monitor, analyze and manage the Parameter that qffr the QoS br voice trqffic in 802.11 Network. The manaA monitorys the Parameters, which determine the quality service, which also implement policies to maintain i service quality. There are many, tools providing the netwa monitoring and management. But they are meant individual Purposes like monitoring or management.
    2013-02-19 15:45:09下载
    积分:1
  • mimo-msi
    mimo msi canal incertain model
    2014-11-20 00:31:22下载
    积分:1
  • QAM256
    256QAM,MATLAB环境下进行的256QAM调制(256QAM)
    2010-11-22 08:59:18下载
    积分:1
  • SimpleService
    How to start or stop a windows NT service.
    2006-09-27 19:32:17下载
    积分:1
  • featureExtract
    本代码是基于颜色特征的关键帧提取代码,是用matlab来实现的。(The code is based on color features keyframe extraction code is used matlab to achieve.)
    2014-01-21 10:48:09下载
    积分:1
  • 对TCSC加入电力系统后的前后进行了仿真 power_tcsc2
    对TCSC加入电力系统后的前后进行了仿真(an example of TCSC)
    2021-04-04 18:49:04下载
    积分:1
  • LDPC_BPSK_simulink
    MATLAB M文件调用SIMULINK完成LDPC误码率仿真(MATLAB M SIMULINK LDPC BER SIMULATION)
    2013-10-03 16:47:10下载
    积分:1
  • mfiles
    matlab仿真基于相对位置的势场函数参数的选取(matlab simulation of the potential field based on the relative position of the selection function parameters)
    2008-08-01 01:03:55下载
    积分:1
  • ckf
    介绍了容积卡尔曼滤波,非常适合初学者对CKF的研究(This paper focuses on the cubature Kalman filters (CKFs) for the nonlinear dynamic systems with additive process and measurement noise)
    2015-01-14 22:32:50下载
    积分:1
  • 696524资源总数
  • 103930会员总数
  • 47今日下载