-
mdijkstra
寻找最短路径的程序,希望对大家有用,谢谢!主要是为了完成注册(Finds all pair shortest path.)
- 2009-03-31 11:13:13下载
- 积分:1
-
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
-
sndr
计算求解连续时间信号的SINAD,分析其频谱特型(Calculate the SINADof Real Signal)
- 2013-07-27 16:25:47下载
- 积分:1
-
3-D-FDTD-code-with-PEC-boundaries
FDTD(时域有限差分法)算法的Matlab源程序(FDTD (finite difference time domain method) algorithm of Matlab source code)
- 2011-09-20 23:28:56下载
- 积分:1
-
co00c
adaptive control mrac
- 2012-01-24 20:16:29下载
- 积分:1
-
47793943spsBattery
铅酸蓄电池的MATLAB仿真模型,能够实现充放电过程(MATLAB simulation model of lead-acid battery, charging and discharging process can be realized)
- 2015-10-18 10:47:13下载
- 积分:1
-
matrice_fondamentale_est
matrice fondamentale
- 2013-01-15 02:16:44下载
- 积分:1
-
pso
粒子群算法的一些程序 标准PSO算法 范例 (PSO Matlab progam)
- 2012-10-15 20:41:38下载
- 积分:1
-
modeloQa
It is a simulation OFDM with CP. there are modulator, FFT/IFFT, channel AWGN.
- 2013-12-13 00:28:18下载
- 积分:1
-
APF_threephase
自己编写的三相有源电力滤波器的matlab仿真程序(matlab2006a),控制系统有良好的滤波性能,适合做APF的参考( matlab simulation program about three-phase APF , good performance, suitable for the reference)
- 2011-06-22 13:47:31下载
- 积分:1