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

Minimum-Bayes-classifier-error-rate

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

  • COFDM_Simulation
    COFDM的matlab仿真框图,完整版。(Matlab simulation of COFDM in the diagram, the full version.)
    2010-09-29 16:18:08下载
    积分:1
  • MUSIC111
    MUSIC算法的仿真,对于分辨空间多目标可以有何不错的效果(MUSIC algorithm simulation, the spatial resolution multi-objective what good results can be)
    2010-11-30 14:44:07下载
    积分:1
  • SECANT
    solution to nonlinear equations use secant method
    2011-07-07 13:46:31下载
    积分:1
  • yz
    这是一个基于圆桌模型仿真阅卷。目标是为了达到用最少的人批改一定数量的试卷,正确率要高。即:前六名的人经过批改后,至少有三个还是在前六名。(This is a based on a the roundtable model simulation scoring. The goal is to reach a certain number of papers use the least amount of people marking the correct rate higher. : Top six man marking after at least three, or in the top six.)
    2013-04-07 15:53:46下载
    积分:1
  • 59804063pinlvguji
    经验模态分解,matlab实现,用于信号的降噪处理,提取特征值处理等经验模态分解,这是用汉语注释的EMD程序,很不错的。% 语法 % IMF = EMD(X) % IMF = EMD(X,..., Option_name ,Option_value,...) % IMF = EMD(X,OPTS) % [IMF,ORT,NB_ITERATIONS] = EMD(...) (This is annotated in Chinese EMD procedures, very good. Syntax IMF = EMD (X) IMF = EMD (X ,..., Option_name, Option_value ,...) IMF = EMD (X, OPTS) [IMF, ORT, NB_ITERATIONS] = EMD (.. .(Empirical mode decomposition, matlab, used in signal noise reduction processing, extraction of characteristic value processing, etc)
    2020-11-02 14:59:54下载
    积分:1
  • 61549803apso
    标准粒子群算法,改进粒子群算法,希望大家能用上(Standard particle swarm optimization, improved particle swarm algorithm, hope everyone can be on the)
    2021-01-01 14:48:57下载
    积分:1
  • matlab
    各种功率谱估计算法的matlab程序。 (A variety of power spectrum estimation algorithm matlab program.)
    2010-12-16 16:26:59下载
    积分:1
  • dckalman.m
    这是个卡尔曼滤波的递推程序,是用MATLAB实现的,很有用出的,希望对大家有所帮助(This is a Kalman filter recursive procedure is used MATLAB to achieve, a very useful and would like to help everyone)
    2008-07-18 11:02:38下载
    积分:1
  • Fuzzy-Adaptive-PID
    采用模糊PID控制进行阶跃响应,在第300个采样时间控制器输出加1.0的干扰。(The fuzzy PID control of the step response, in the first 300 sampling time the controller output increases 1.0 interference.)
    2011-05-31 19:09:42下载
    积分:1
  • network-of-matlab-toolbox
    matlab神经网络工具箱中的函数用法的介绍(the introduction of the Matlab neural network toolbox function usage)
    2012-08-11 17:21:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载