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

Minimum-Risk-Bayes-classifier

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

  • fenzhen
    自己编的谱减语音增强谱减算法程序,带噪语音按帧处理的,利用寂静帧的语音段来估计噪声。(Own spectrum minus minus algorithm for spectral speech enhancement procedure of Noisy Speech by the frame of the treatment, the use of silence the voice frame to estimate the noise above.)
    2009-03-17 15:55:58下载
    积分:1
  • power_est
    在Matlab环境下实现的功率谱估计程序,经典法,带绘图功能(In the Matlab environment realize the power spectrum estimation procedure, the classical method, with graphics)
    2008-02-22 16:49:57下载
    积分:1
  • MATLAB+模拟的电磁学时域有限差分法_13129674
    说明:  matlab 书籍时域有限元求解电磁场,计算电磁学初学者,编写的程序代码,希望可以帮助广大网友(Matlab book time domain finite element method to solve electromagnetic field, calculation of electromagnetic beginners, compiled program code, hope to help the vast number of netizens)
    2019-06-29 17:43:33下载
    积分:1
  • matlab_c++-call_mat
    这个是自己实现的matlab与c++的一个接口。 是用c++语言实现的(This is the realization of our own Matlab and c of an interface. Is the C Language)
    2021-03-04 12:39:32下载
    积分:1
  • JnS
    独立成分分析方法(ICA)的一个方向JADE的实现源代码程序包,对于盲源分离的研究者有很大帮助(Independent component analysis (ICA) to achieve a direction JADE source code package for the blind source separation of great help to researchers)
    2011-10-23 13:02:59下载
    积分:1
  • TurboCodes_OFLYNN
    提供了Turbo编译码的Tutorial,以及完整的matlab源代码。(Available PowerPoint presentation walks through how turbo codes work, and then goes onto using the included MATLAB files. Includes Links to useful resources, some available for free online, some you may already have access to through your institution. )
    2012-02-03 17:51:34下载
    积分:1
  • RandPSOprogram
    随机权重法改进粒子群优化算法, 更换目标函数后使用(Random weight method to improve particle swarm optimization algorithm, the objective function after the use of replacement)
    2011-05-10 20:05:57下载
    积分:1
  • LMS
    基于matlab的LMS最小均方算法仿真(Matlab-based LMS least mean square algorithm simulation)
    2012-05-15 22:03:56下载
    积分:1
  • Matlab
    《现代图像处理技术及Matlab实现》详细介绍了现代图像处理技术的基本知识及Matlab图像处理技巧,并强调了图像处理的理论和应用相结合的方法。每一章都先阐述现代图像处理技术的理论背景,然后引出在实际应用中的Matlab实现算法,覆盖了所涉及内容的理论分析、算法结构以及实现中的数据准备、转换、显示和输出等各个环节。《现代图像处理技术及Matlab实现》是一部反映现代图像处理实用技术和应用的著作,可以作为各大专院校教师、研究生以及从事图像处理研究和开发的科技人员的参考书。(NO)
    2010-06-25 18:16:46下载
    积分:1
  • 1156
    增强,计算目标个数及周长增强,计算目标个数及周长(Increased number of objects and calculate the circumference increased number of objects and calculate the perimeter)
    2010-05-06 10:26:33下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载