Talk:Bhattacharyya distance

Merger question
The articles do seem to be about the same thing. One problem may be the title to adopt. Should "distance" be used, considering that it isn't a "distance" in the metric sense? So what is the common usage? Melcombe (talk) 16:31, 15 May 2008 (UTC)
 * Google seems to prefer distance (13,000 versus 3,000 hits). Btyner (talk) 20:14, 10 May 2009 (UTC)
 * It is a measure of dissimilarity, even though it does not obey the triangle inequality (see Kailath's paper, referenced in the main article).Jrvz (talk) 16:54, 8 November 2010 (UTC)

The term "distance" certainly applies to the Bhattacharyya distance, it is a different type of distance than the traditional Euclidean distance between two points, but there are many other "distances" such as the Chess-board distance, the Chamfer distance or the Kullback-Leibler Distance (also called divergence). What the B.D. is measuring is how far apart two "things" are where the "things" are statistical distributions, the closer the distributions, the smaller the distance. "Bhattacharyya distance" is a term widely used in statistics and in other areas such as computer vision and image processing when it refers to the distance between distributions of classes that were obtained from an image. So, it is not directly related to C.V. but widely used there — Preceding unsigned comment added by Creyes (talk • contribs) 13:41, 12 February 2013 (UTC)

Comments from Talk:Bhattacharya coefficient
There is no article on battacharyya bound!! — Preceding unsigned comment added by 165.91.166.94 (talk) 22:56, 26 November 2006

Note: in article's Definition section, in paragraph relating it to Mahalanobis distance, figures are mentioned but none are present. 128.101.106.11 (talk) 23:37, 7 March 2013 (UTC)

Error in simplified formula?
In the definition based on mean and variance: "where sigma_p is the variance of the p-th distribution," -> is sigma really the variance, shouldn't it be the standard deviation? Since sigma^2 is used everywhere in the formula, I'm not sure but I suspect that it should be "where sigma^2_p is the variance of the p-th distribution". Can someone confirm or refute that please?

82.67.136.228 (talk) 16:05, 5 April 2013 (UTC)

In the article that is referred to (in which it also says that sigma is the variance), this expression is derived from the more general expression involving covariance matrices. Seeing as the covariance matrix is a generalization of the variance to higher dimensions, and this leads to the same expression involving sigma as the standard deviation (thus sigma squared as the variance), this must be an error in the article as well. Can someone please confirm that?

Rokusottervanger (talk) 09:30, 15 March 2016 (UTC)

-\log \left({{\sqrt{2}\,\sqrt{{\it sp}}\,\sqrt{{\it sq}}\,e^ {- {{ {\it mq}^2-2\,{\it mp}\,{\it mq}+{\it mp}^2}\over{4\,{\it sq}^2+4\, {\it sp}^2}} }}\over{\sqrt{{\it sq}^2+{\it sp}^2}}}\right) $$ where $$sp$$ and $$sq$$ stand for standard deviations. Substituting the usual symbols, i.e. $$\sigma_p$$ for $$sp$$, etc, and simplifying this is $$ \frac{1}{2}\log\left(\frac{\sigma_p^2+\sigma_q^2}{2\sigma_p\sigma_q}\right) + \frac{1}{4}\frac{(\mu_p-\mu_q)^2}{\sigma_p^2+\sigma_q^2} $$ which is essentially the same formula as the one in the article (except that the first term is further rewritten so that sigmas appear only squared, perhaps for numerical reasons). So I conclude that indeed variance is, as usual, written $$\sigma^2$$ in it. Wherever the mistake comes from, it's an obvious typo so I'm fixing it. — mwgamera (talk) 10:51, 16 March 2016 (UTC)
 * Using Maxima I can quickly derive Bhattacharyya distance for normal distributions directly like that:  Which gives $$

A particular case?
How am I to understand the sentence "the Mahalanobis distance is a particular case of the Bhattacharyya distance when the standard deviations of the two classes are the same"? We are not talking mathematical equivalency since $$D_{B}={1 \over 8} {D_{M}}^2$$. I understand the Mahalanobis distance to measure the distance between a point and a distribution in standard deviations. What would the equivalent measurement unit for Bhattacharyya distance be?

129.247.247.239 (talk) 14:53, 23 July 2019 (UTC)
 * I wanted to ask the same. Imo this is incomplete or wrong --84.112.248.63 (talk) 12:53, 26 June 2020 (UTC)