Code covered by the BSD License  

Highlights from
Bhattacharyya Distance Measure for Pattern Recognition

5.0

5.0 | 3 ratings Rate this file 40 Downloads (last 30 days) File Size: 1.69 KB File ID: #18662

Bhattacharyya Distance Measure for Pattern Recognition

by Yi Cao

 

08 Feb 2008 (Updated 13 Mar 2008)

A Tool to calculate the Bhattacharyya Distance Measure for Pattern Recognition

| Watch this File

File Information
Description

The m-file provides a tool to calculate the Bhattacharyya Distance Measure (BDM) between two classes of normal distributed data. The BDM is widely used in Pattern Recognition as a criterion for Feature Selection.

Directly calculation may result in divide by zero error due to possible (near) singularity of cov(X1)*cov(X2). The improved code uses the Cholesky factorization for the normal cases but uses sqrtm for near singular cases.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
05 Apr 2009 V. Poor  
26 Jun 2010 MFY Sheikh

Only for Gaussian Distributions and has certain limitations.

Please login to add a comment or rating.
Updates
11 Feb 2008

update example and improve speed

12 Feb 2008

update code to include numerical reliability check.

13 Mar 2008

update descriptions.

Tag Activity for this File
Tag Applied By Date/Time
statistics Yi Cao 22 Oct 2008 09:46:53
probability Yi Cao 22 Oct 2008 09:46:53
bhattacharyya distance measure Yi Cao 22 Oct 2008 09:46:54
pattern recognition Yi Cao 22 Oct 2008 09:46:54
bayes error Yi Cao 22 Oct 2008 09:46:54
bhattacharyya distance measure Pitch Mandava 27 Oct 2008 16:17:02
pattern recognition Christian 22 Apr 2009 17:57:45
bhattacharyya distance measure Federico Alvarez 30 Apr 2009 12:52:35
bayes error basant badwy 19 Jun 2009 12:14:33

Contact us at files@mathworks.com