-
Minimum-Risk-Bayes-classifier
这是模式识别中最小风险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 )
- 2012-02-02 20:37:04下载
- 积分:1
-
matlabaJavaApplet
基于matlab&JavaApplet的数字化实验室研究(Based on the the of the laboratory studies of the digitized of the matlab & JavaApplet)
- 2013-04-06 15:53:46下载
- 积分:1
-
kalman-file
一种改进的自适应滤波器的状态估计,效果非常之好,是用MATLAB编写的,直接在matlab下运行就可以看到完美的滤波效果,自适应算法是sage—husa算法,较传统的滤波器有很大提高(An improved adaptive filter state estimates, the effect is very good, is written in MATLAB, directly in matlab running, you can see a perfect filtering effect, the adaptive algorithm is sage-husa algorithm, than the traditional filtering has greatly improved)
- 2020-12-10 21:09:19下载
- 积分:1
-
hurstindex
Hurst数计算,用于算法交易,非常有用(Hurst index)
- 2014-10-30 23:00:27下载
- 积分:1
-
Invarient
This program is designetd for find the invarient of the binary image
- 2013-04-30 21:56:57下载
- 积分:1
-
Kruskal
说明: Kruskal避圈算法的matlab实现(Kruskal algorithm matlab circle to avoid the realization of)
- 2008-09-19 15:04:30下载
- 积分:1
-
chap3
先进PID控制matlab仿真源代码。典型事例具体说明,清晰易懂。(第三章)(Advanced PID control matlab simulation source code, more typical examples of specific instructions, clear and easy to understand.(Chapter 3))
- 2014-09-28 10:57:35下载
- 积分:1
-
DTC_PMSM_01
This file is about vector control of PMSM. DTC - Direct torque control.
- 2014-01-14 17:24:12下载
- 积分:1
-
particlefilter
几个粒子滤波的粒子。包括普通的粒子滤波和基于扩展卡尔曼滤波器的粒子滤波器源程序。(Several particle filter particles. Including ordinary particle filtering and extended Kalman filter-based particle filter source.)
- 2021-01-22 11:08:45下载
- 积分:1
-
roidpoly
使用matlab 程序,在数字图像中选择您感兴趣的目标区域并显示出来(select an area of your interest)
- 2009-05-19 19:55:38下载
- 积分:1