Code covered by the BSD License  

Highlights from
Bayes classification for 2D Gaussian distributions

5.0
5.0 | 2 ratings Rate this file 25 Downloads (last 30 days) File Size: 2.19 KB File ID: #32031 Version: 1.1
image thumbnail

Bayes classification for 2D Gaussian distributions

by

Ke Yan (view profile)

 

02 Jul 2011 (Updated )

Draw Bayes classification results for 2D Gauss. distributions, return func. handles of N post. prob.

| Watch this File

File Information
Description

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).

MATLAB release MATLAB 7.11 (R2010b)
MATLAB Search Path
/
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
15 Sep 2011 Mr Smart  
13 Sep 2011 Mr Smart  
Updates
01 May 2015 1.1

change the intro picture

Contact us