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

Minimum-Bayes-classifier-error-rate

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

  • matlab
    一些基本的matlab编程实验及程序,用MATLAB进行信号与系统分析,信号与系统的数值化处理,工程应用基石:函数与工具箱(Some basic matlab programming experiments and procedures, numerical processing of signals and systems analysis, signals and systems using MATLAB, the cornerstone of engineering applications: function and toolbox)
    2012-04-11 13:23:13下载
    积分:1
  • LAB
    从均匀PCM方法入手,产生一振幅为1和频率ω=1的正弦信号,分别用8电平和16电平进行量化,在同一坐标轴上绘出原信号和以量化信号,并比较这两种情况下的信号/量化噪声比(Starting from the uniform PCM method to produce a 1 amplitude and frequency ω = 1 of the sinusoidal signal, respectively, with 8 levels and 16 levels were quantified in the same plot of the original signal and the axes to quantify the signals, and to compare these two cases, the signal/quantization noise ratio)
    2011-04-27 17:31:51下载
    积分:1
  • _matlab
    关于信道编译码的Matlab源代码!,对各种通用信道编码方案给出实现方法(Channel codec on the Matlab source code! , For a variety of common channel coding scheme given method)
    2013-08-07 17:08:27下载
    积分:1
  • NGTB40N60IHLWG
    datasheeet ofmcp 22333
    2014-11-20 22:46:12下载
    积分:1
  • Probability_and_Information_An_Integrated_Approac
    This is an updated new edition of the popular elementary introduction to probability theory and information theory, now containing additional material on Markov chains and their entropy. Suitable as a textbook for beginning students in mathematics, statistics, computer science or economics, the only prerequisite is some knowledge of basic calculus.
    2009-04-08 15:42:02下载
    积分:1
  • sys
    本实验隶属现代数字信号处理,涉及到谱估计和谱分解,对学习数字信号的现代处理方法帮组很大。系统辨识实验实现:输入为功率为1(方差为1)的白噪声信号,通过一个线性移不变(LSI)系统,采用功率谱分析方法实现系统辨识对一个LSI系统进行辨识,并比较最后辨识出的系统与原系统的差别,分别显示出来。 (Experimental realization of system identification: input power of 1 (variance 1) of the white noise signal through a linear shift invariant (LSI) system, using power spectral analysis method of system identification of an LSI system identification, and compare the final system and identify the difference between the original system, respectively, is displayed.)
    2011-12-13 22:04:50下载
    积分:1
  • powertu
    用MATLAB实现地震动功率谱函数的几种常用经典方法(In MATLAB to vibration power spectrum of several classic methods commonly used)
    2011-12-18 09:32:29下载
    积分:1
  • PSO_base_RBF
    基于pso智能算法改进的rbf算法,可以对故障种类进行区分。(Pso intelligent algorithm based on improved rbf algorithm can distinguish the type of fault.)
    2020-07-01 16:40:02下载
    积分:1
  • breast_cancer
    对数据集breast_cancer,用LR,NB算法对其进行操作(On the data set breast_cancer, with LR, NB algorithms manipulate)
    2010-06-21 10:07:06下载
    积分:1
  • DFT_FFT_COMPARISON
    离散傅立叶变换DFT和快速傅立叶变换FFT的比较(Discrete Fourier Transform and Fast Fourier Transform Comparison)
    2009-03-14 09:51:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载