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

Minimum-Bayes-classifier-error-rate

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

  • upf_demos
    his is a matlab prepared using EM algorithm, there is a sample, look for implementation using EM algorithm.
    2010-10-18 21:58:00下载
    积分:1
  • Zernik
    Zernike moments are insensitive to translation, rotation and scaling which preserves the information contained in the images. They also reduce noise and redundancy in feature vectors.
    2013-04-03 23:04:31下载
    积分:1
  • iToolbox
    此工具箱包括了多元校正中选择变量的一系列方法,包括ipls,bipls,mwpls,sipls等(the present toolbox contains a serie of methods used to select variables,such as ipls,bipls,mwpls,sipls.)
    2014-01-23 15:25:59下载
    积分:1
  • simulationandsoftwareradioformobile
    book:simulation and softeware radiao for mibole code:psk-based digital transmission schemes ofdm transmission technology cdma transmission technology multiple access protocals cellular telecommunication systems(book : simulation and softeware radiao for mibole cod e : psk-based digital transmission schemes ofdm t ransmission technology cdma transmission Commando hnology multiple access cellular te protocals lecommunication systems)
    2006-12-12 10:57:26下载
    积分:1
  • f
    说明:  在为分割使用分水岭变换之前,通常使用梯度幅度来预处理图像。(Before using watershed transformation for segmentation,we usually use gradient magnitude to preprocessing the image. )
    2013-03-10 16:11:56下载
    积分:1
  • Gabor-Matlab
    用matlab编写的Gabor滤波器,得虚部和实部(Matlab prepared by the Gabor filter, imaginary part and real part)
    2014-01-19 16:48:02下载
    积分:1
  • fft_freq
    fft of sampled signal
    2015-03-12 15:49:17下载
    积分:1
  • Particle-Filter-Toolbox
    Matlab最新最完整的粒子滤波工具箱,建议在matlab7.X环境下运行(Matlab latest and most complete toolbox particle filter, the proposed environment running under matlab7.X)
    2014-04-03 10:10:18下载
    积分:1
  • CLAHE
    Contrast Limited AHE (CLAHE) differs from ordinary adaptive histogram equalization in its contrast limiting. This feature can also be applied to global histogram equalization, giving rise to contrast limited histogram equalization (CLHE). In the case of CLAHE, the contrast limiting procedure has to be applied for each neighbourhood from which a transformation function is derived.
    2013-09-11 02:48:42下载
    积分:1
  • single_inverter_wangyafankui
    利用matlab做的带电网电压反馈控制的单相逆变器模型,分享给大家(Matlab to do with the grid voltage feedback control of single-phase inverter model for everyone to share.)
    2013-01-09 21:52:06下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载