Main Content

One-dimensional Bhattacharyya distance between two independent data groups to measure class separability

`bhattacharyyaDistance`

is a function used in code generated by
**Diagnostic Feature
Designer**.

calculates the one-dimensional Bhattacharyya distances between two independent subsets of
data set `Z`

= bhattacharyyaDistance(`X`

,`I`

)`X`

that are grouped according to the logical labels in
`I`

. The Bhattacharyya distance provides a metric for ranking features
according to their ability to separate two classes of data, such as data from healthy and
faulty machines. The distance calculation assumes that the data in `X`

follows a Gaussian distribution.

Code that is generated by **Diagnostic Feature
Designer** uses `bhattacharyyaDistance`

when ranking features with
this method.

[1] Theodoridis, Sergios, and
Konstantinos Koutroumbas. *Pattern Recognition*, 177–179. 2nd ed.
Amsterdam; Boston: Academic Press, 2003.