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

Minimum-Risk-Bayes-classifier

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

  • analog2digitalconverter
    analog to digital converter source code, very good
    2009-06-01 00:18:35下载
    积分:1
  • CarAgent_down
    dfb drtyjuhrey rt try rty
    2014-08-07 20:57:13下载
    积分:1
  • matlab-for-parameters-resetting
    快速弦截法进行工程整定,反复迭代直到满足工程要求(Secant method works fast tuning iteratively until meet the engineering requirements)
    2013-10-21 07:33:45下载
    积分:1
  • analysis
    根据水位过程线,分析全场的潮汐调和常数图,20个字(According to the water level hydrograph analysis audience tidal harmonic constants map, 20 words)
    2013-10-30 19:03:41下载
    积分:1
  • RegrToolbox
    基于多元线性回归、偏最小二乘、神经网络、卡尔漫滤波、径向基网络、主成分分析等等的程序。可用于建模和预测。(Based on multiple linear regression, partial least squares, neural networks, Carl diffuse filtering, radial basis networks, and so on principal component analysis procedure. Can be used for modeling and prediction.)
    2009-03-29 16:36:09下载
    积分:1
  • classifier
    说明:  两类二维相关正态分布条件下的最小错误率贝叶斯分类器,基于最小风险的贝叶斯分类器,Parzen窗法非参数估计分类器程序,Fisher线性判别法分类器程序。(Under normal conditions two types of two-dimensional correlation of minimum error rate of Bayesian classifier, the minimum risk-based Bayesian classifier, Parzen window method estimates non-parametric classification procedures, Fisher Linear Discriminant classifier program.)
    2010-04-06 16:43:00下载
    积分:1
  • ExtendedPKalmanPFilter
    扩展的kalman 滤波算法,使用matlab进行实现,由国外人士编写(Extended kalman filter algorithm, using matlab to achieve)
    2011-10-14 15:04:46下载
    积分:1
  • pca
    集成了C代码和MATLAB的主成分分析代码,可以用这两种方法解决求取特征值和特征向量。(C code and MATLAB integrates principal component analysis code, you can use two methods to solve strike eigenvalues ​ ​ and eigenvectors.)
    2013-09-10 19:45:04下载
    积分:1
  • MATLAB
    使初级工程师能够较快速的了解MATLAB这一数学工具,以及初步掌握用法(Junior engineers can more quickly understand the mathematical tools of MATLAB, as well as preliminary master the usage)
    2012-05-20 10:43:36下载
    积分:1
  • MatlabSpanish
    programas de matlab, para aplicaciones de ax=b
    2011-07-29 04:24:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载