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

Minimum-Risk-Bayes-classifier

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

  • K-means
    用matlab实现的聚类,效果很好,里面有部分数据,点击可以直接运行(Cluster with matlab to achieve good results, which are part of the data, click directly run)
    2010-06-18 18:05:59下载
    积分:1
  • antena1
    阵列信号处理中有关天线阵列处理的基本程序。%%ARRAY ANTENNA SOFTWARE(signal processing array antenna array processing on the basic procedures. %% ARRAY ANTENNA SOFTWARE)
    2007-04-05 21:06:51下载
    积分:1
  • alternateur
    Simulation de l alternateur
    2011-07-15 01:57:08下载
    积分:1
  • final
    雷达信号的整体处理流程,雷达信号的整体处理流程(The overall processing flow of the radar signal)
    2013-11-04 22:25:40下载
    积分:1
  • logbptest
    采用对数域消息传递算法(LLRBP)的LDPC码译码方案,用matlab程序编写。(Logarithmic domain message passing algorithm (LLR BP) LDPC code decoding program, a program written in matlab.)
    2016-03-23 17:33:30下载
    积分:1
  • KalmanAll
    说明:  改写的matlab fft程序,能对fft结果幅度调整和对横坐标的频率实行自动匹配(Matlab fft procedure adapted to the results of the fft and the abscissa is adjusted automatically to match the frequency of)
    2009-08-14 10:16:19下载
    积分:1
  • solution
    用mathlab解关于卫星轨迹图的微分方程组, 简单实用的例子,能从中知道如何编写程序, 并如何画图.可直接在matlab7.0中运行. 以及有关于复杂网络的matlab源程序,供致力于复杂网络仿真研究的同仁参考!(Appollo satellite s trace (Differential equation))
    2013-07-30 23:21:32下载
    积分:1
  • 1
    说明:  一阶动态滑模控制,设计切换函数s,使切换函数与系统控制输入的一阶导数有关(S first order dynamic sliding mode control, design the switch function, make the switch function is associated with the first derivative of system control input)
    2013-10-11 16:24:44下载
    积分:1
  • Matlabshenjingwangluo
    MATLAB的神经网络工具箱实用指南. 第一章是神经网络的基本介绍,第二章包括了由工具箱指定的有关网络结构和符号的基本材料以及建立神经网络的一些基本函数,例如new、init、adapt和train。第三章以反向传播网络为例讲解了反向传播网络的原理和应用的基本过程。(MATLAB neural network toolbox of practical guidance. The first chapter is a basic introduction to neural networks, and the second chapter, including the toolbox designated by the network structure and symbols related to the basic material and the establishment of neural network, some basic functions, such as new, init, adapt and train. Chapter III to back-propagation network as an example to explain the back-propagation network, the basic principle and application process.)
    2010-09-03 15:22:00下载
    积分:1
  • code
    function []= DWTSVD_JPEG(), jpeg and dwt compression matlabimages
    2014-10-05 02:43:39下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载