|
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
)
Public Function Distance (
meanX As Double(),
covX As Double(,),
meanY As Double(),
covY As Double(,)
) As Double
Request Example
View SourceParameters
- 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:
DoubleThe Bhattacharyya distance between the two distributions.
See Also