资源简介
本资源包括贝叶斯、最大似然、马氏距离、欧氏距离分类算法,算法由Matlab 语言编写,

代码片段和文件信息
function [z]=bayes_classifier(mSPX)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FUNCTION
% [z]=bayes_classifier(mSPX)
% Bayesian classification rule for c classes modeled by Gaussian
% distributions (also used in Chapter 2).
%
% INPUT ARGUMENTS:
% m: lxc matrix whose j-th column is the mean of the j-th class.
% S: lxlxc matrix where S(::j) corresponds to
% the covariance matrix of the normal distribution of the j-th
% class.
% P: c-dimensional vector whose j-th component is the a priori
% probability of the j-th class.
% X: lxN matrix whose columns are the data vectors to be
% classified.
%
% OUTPUT ARGUMENTS:
% z: N-dimensional vector whose i-th element is the label
% of the class where the i-th data vector is classified.
%
% (c) 2010 S. Theodoridis A. Pikrakis K. Koutroumbas D. Cavouras
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[lc]=size(m);
[lN]=size(X);
for i=1:N
for j=1:c
t(j)=P(j)*comp_gauss_dens_val(m(:j)S(::j)X(:i));
end
[numz(i)]=max(t);
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 840 2013-10-31 22:18 分类器\Gaussian_ML_estimate.m
文件 1203 2013-10-31 22:18 分类器\bayes_classifier.m
文件 927 2013-10-31 22:18 分类器\comp_gauss_dens_val.m
文件 867 2013-10-31 22:18 分类器\euclidean_classifier.m
文件 1355 2013-10-31 22:18 分类器\generate_gauss_classes.m
文件 1083 2013-10-31 22:18 分类器\mahalanobis_classifier.m
目录 0 2013-11-03 09:38 分类器\
- 上一篇:HOG目标跟踪
- 下一篇:电磁场实验matlab仿真
相关资源
- 监督分类最大似然法MATLAB.zip
- 最大似然法_监督分类_遥感影像
- 基于贝叶斯决策的分类
- 贝叶斯分类器Matlab实现113478
- zw_支持向量机与朴素贝叶斯算法matl
- svm支持向量机与nbc朴素贝叶斯算法比
- 基于MATLAB的柑橘果实分类图像朴素贝
- 用身高和/或体重数据进行性别分类的
- EM算法--基于贝叶斯
- 贝叶斯网络Matlab源代码
- 线性系统参数估计的最大似然法
- 贝叶斯网络工具箱MATLAB工具箱
- 贝叶斯压缩感知matlab源代码
- 模式识别4个实验(matlab)
- 可视化贝叶斯网络建模软件GeNIe2.2用户
- genie 2.0贝叶斯网络软件
- BNT_SLP v1.5
- 贝叶斯网络工具箱Matlab工具包
- FullBNT-1.0.4
- 贝叶斯网络建模工具GeNie2.0安装程序
- 贝叶斯图像处理matlab程序
- 贝叶斯分类器的matlab实现及案例
- 贝叶斯压缩感知matlab函数包
- MATLAB贝叶斯网络工具箱
- seksgui v1.0.3
- 机器学习课程设计《基于朴素贝叶斯
- Matlab基于贝叶斯,朴素贝叶斯,最小
- MATLAB贝叶斯网络工具箱FullBNT-1.0.7
- 贝叶斯抠图算法matlab实现
- matlab贝叶斯网络工具箱
评论
共有 条评论