Bayes classification for 2D Gaussian distributions

Versión 1.1.0.0 (2,19 KB) por Ke Yan
Draw Bayes classification results for 2D Gauss. distributions, return func. handles of N post. prob.
1,6K Descargas
Actualizado 1 may 2015

Ver licencia

It can be seen as a introduction to Bayesian classification, or Matlab plotting.
function ret = drawBayesGauss2D(mu,c,prProb,ax)
% Draw Bayes classification results for 2D Gaussian distributions.
% mu: 2-by-N, mean vector for N classes.
% c: 2-by-2-by-N, cov matrices.
% prProb: 1-by-N, prior probabilities.
% ax: [xmin xmax ymin ymax], plotting ranges.
% ret: If a return value is required, it will be a 1-by-N cell array
% containing N function_handles of N posterior probabilities.
% You can use ret{i}(X,Y) to get post-prob of class i at (X,Y).

Citar como

Ke Yan (2026). Bayes classification for 2D Gaussian distributions (https://la.mathworks.com/matlabcentral/fileexchange/32031-bayes-classification-for-2d-gaussian-distributions), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2010b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Versión Publicado Notas de la versión
1.1.0.0

change the intro picture

1.0.0.0