Click or drag to resize
Accord.NET (logo)

BhattacharyyaDistance Method (Double, Double, Double, Double)

Bhattacharyya distance between two Gaussian distributions.

Namespace:  Accord.Math.Distances
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double Distance(
	double[] meanX,
	double[][] covX,
	double[] meanY,
	double[][] covY
)
Request Example View Source

Parameters

meanX
Type: SystemDouble
Mean for the first distribution.
covX
Type: SystemDouble
Covariance matrix for the first distribution.
meanY
Type: SystemDouble
Mean for the second distribution.
covY
Type: SystemDouble
Covariance matrix for the second distribution.

Return Value

Type: Double
The Bhattacharyya distance between the two distributions.
See Also